Skip to content

Comments

Fix artifacts workflow to use actual git tags#31

Closed
metalmatze wants to merge 1 commit intomainfrom
fix/workflow-git-tag
Closed

Fix artifacts workflow to use actual git tags#31
metalmatze wants to merge 1 commit intomainfrom
fix/workflow-git-tag

Conversation

@metalmatze
Copy link
Member

Replaces hardcoded v0.0.0 with git describe --tags --abbrev=0 to use the actual latest tag.

The workflow was failing because goreleaser creates images using the latest git tag (v0.1.2), but the workflow tried to reference v0.0.0-amd64 which doesn't exist.

Replace hardcoded v0.0.0 with git describe to use the actual latest tag (v0.1.2). This fixes the workflow failure where it tried to tag non-existent v0.0.0-amd64 images. Goreleaser in snapshot mode creates images using the latest tag, so the workflow needs to reference that same tag.
@metalmatze
Copy link
Member Author

Closing in favor of new branch without slash in name

@metalmatze metalmatze closed this Jan 7, 2026
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.

1 participant