Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix release tag reference #656

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Conversation

Mirko-von-Leipzig
Copy link
Contributor

Packaging release artifacts fails because the github.ref returns the full git reference instead of the tag. i.e. it gives refs/tags/vA.B.C.

The fix is to use github.ref_name 🫤

Thankfully the workflow can be triggered manually where it correctly uses the input version as the tag. This PR just fixes it for the next release trigger; though we'll have to create a fake release to actually test this ahead of time.

@Mirko-von-Leipzig Mirko-von-Leipzig marked this pull request as ready for review January 29, 2025 14:46
Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you!

@Mirko-von-Leipzig Mirko-von-Leipzig merged commit 35a30cb into main Jan 29, 2025
9 of 10 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the mirko/fix/packaging branch January 29, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants