Skip to content

Tag the release commit when using timestamped deploy tags, rather than HEAD - #20

Merged
jamgregory merged 1 commit into
masterfrom
fixes/deployment-tags
Jul 17, 2026
Merged

Tag the release commit when using timestamped deploy tags, rather than HEAD#20
jamgregory merged 1 commit into
masterfrom
fixes/deployment-tags

Conversation

@william-lee-epigenesys

Copy link
Copy Markdown
Contributor

Git::Base#add_tag silently ignores when the second argument is not a String, and does not handle when instances of objects from the library are passed in, for example those returned by git.object and git.tags, and tags the current commit on the repo instead.

The fix calls #sha on the commit object if the method is defined to return the hash.

@jamgregory
jamgregory merged commit 96b80c4 into master Jul 17, 2026
4 of 5 checks passed
@jamgregory
jamgregory deleted the fixes/deployment-tags branch July 17, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants