Skip to content

goreleaser: ConventionalFileName so pkgs places rpm/arch packages - #2

Merged
edimarlnx merged 1 commit into
mainfrom
fix-package-naming
Sep 1, 2026
Merged

goreleaser: ConventionalFileName so pkgs places rpm/arch packages#2
edimarlnx merged 1 commit into
mainfrom
fix-package-naming

Conversation

@edimarlnx

Copy link
Copy Markdown
Contributor

Without file_name_template, goreleaser named the rpm/pacman artifacts _linux_amd64.rpm / _linux_amd64.pkg.tar.zst, which the pkgs build-repos.sh layout (matching *.x86_64.rpm / *-x86_64.pkg.tar.zst) does not place — only the .deb reached the repos. {{ .ConventionalFileName }} gives the native names the family's tools use.

Found end-to-end: built the pkgs repo with --only headscale + ran verify-repos.sh — deb installed, rpm/arch were absent from the built repos.

🤖 Generated with Claude Code

…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
@edimarlnx
edimarlnx merged commit 21902c7 into main Sep 1, 2026
2 checks passed
@edimarlnx
edimarlnx deleted the fix-package-naming branch September 1, 2026 01:45
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