Skip to content

feat: Add release tag into source code url of gem metadata#1984

Merged
arielvalentin merged 5 commits intoopen-telemetry:mainfrom
thompson-tomo:feat/#1961_AddCommitId
Apr 11, 2026
Merged

feat: Add release tag into source code url of gem metadata#1984
arielvalentin merged 5 commits intoopen-telemetry:mainfrom
thompson-tomo:feat/#1961_AddCommitId

Conversation

@thompson-tomo
Copy link
Copy Markdown
Contributor

@thompson-tomo thompson-tomo commented Feb 4, 2026

Closes #1961

This tweaks the gemspec files so that the source code url now contains the release tag. By including this tag, we can as part of deprecation work remove the source files while having atleast the latest published version of gem pointing to the code used and a readme containing the deprecation

Note the only other change was to update resources/aws/opentelemetry-resource-detector-aws.gemspec so that it was the same metadata as the other gems.

@thompson-tomo thompson-tomo changed the title feature: Add commit id into source code url feat: Add commit id into source code url Feb 4, 2026
@thompson-tomo thompson-tomo changed the title feat: Add commit id into source code url feat: Add commit id into source code url of gem metadata Feb 4, 2026
Copy link
Copy Markdown
Contributor

@scbjans scbjans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arielvalentin
Copy link
Copy Markdown
Contributor

Would using tags instead of SHA be a better user experience?

@thompson-tomo
Copy link
Copy Markdown
Contributor Author

Both achieve the same result and experience, tags are nicer for users using github but we would need to extend the CI to be adding tags and using them. The nice thing about commits is that they are always available to both ci/users and can not be tampered with.

@thompson-tomo
Copy link
Copy Markdown
Contributor Author

@robbkidd / @dazuma / @arielvalentin i have switched to using the tag rather than commit. Please take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use commit id in source code url property of gemspec