goreleaser: ConventionalFileName so pkgs places rpm/arch packages - #2
Merged
Conversation
…m/arch Without file_name_template, goreleaser named the rpm/pacman artifacts headscale_<ver>_linux_amd64.rpm / _linux_amd64.pkg.tar.zst, which the pkgs build-repos.sh layout (matching *.x86_64.rpm and *-x86_64.pkg.tar.zst) does not place, so only the .deb reached the repos. ConventionalFileName gives the native names the family's tools use (headscale-<ver>-1.x86_64.rpm, headscale-<ver>-1-x86_64.pkg.tar.zst), which the layout picks up. Found by building the pkgs repo with --only headscale and verify-repos.sh: deb installed, rpm/arch were missing from the built repos. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MCypLQF5AD8JD831Ea9S9q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Without
file_name_template, goreleaser named the rpm/pacman artifacts_linux_amd64.rpm/_linux_amd64.pkg.tar.zst, which the pkgsbuild-repos.shlayout (matching*.x86_64.rpm/*-x86_64.pkg.tar.zst) does not place — only the.debreached the repos.{{ .ConventionalFileName }}gives the native names the family's tools use.Found end-to-end: built the pkgs repo with
--only headscale+ ranverify-repos.sh— deb installed, rpm/arch were absent from the built repos.🤖 Generated with Claude Code