Skip to content

chore(goreleaser): fix release asset names#547

Merged
natefinch merged 6 commits intomagefile:masterfrom
suzuki-shunsuke:chore-fix-release-asset-name
Mar 31, 2026
Merged

chore(goreleaser): fix release asset names#547
natefinch merged 6 commits intomagefile:masterfrom
suzuki-shunsuke:chore-fix-release-asset-name

Conversation

@suzuki-shunsuke
Copy link
Copy Markdown
Contributor

@suzuki-shunsuke suzuki-shunsuke commented Mar 27, 2026

Close #548

Asset names of v1.17.0 are broken.

https://github.com/magefile/mage/releases/tag/v1.17.0

gh release view --json assets --jq ".assets[].name" -R magefile/mage v1.17.0
mage_1.17.0_checksums.txt
mage_1.17.0_darwin_amd64macOS-64bit.tar.gz
mage_1.17.0_darwin_arm64macOS-ARM64.tar.gz
mage_1.17.0_dragonfly_amd64DragonFlyBSD-64bit.tar.gz
mage_1.17.0_freebsd_amd64FreeBSD-64bit.tar.gz
mage_1.17.0_freebsd_arm64FreeBSD-ARM64.tar.gz
mage_1.17.0_freebsd_armFreeBSD-ARM.tar.gz
mage_1.17.0_linux_amd64Linux-64bit.tar.gz
mage_1.17.0_linux_arm64Linux-ARM64.tar.gz
mage_1.17.0_linux_armLinux-ARM.tar.gz
mage_1.17.0_netbsd_amd64NetBSD-64bit.tar.gz
mage_1.17.0_netbsd_arm64NetBSD-ARM64.tar.gz
mage_1.17.0_netbsd_armNetBSD-ARM.tar.gz
mage_1.17.0_openbsd_amd64OpenBSD-64bit.tar.gz
mage_1.17.0_openbsd_arm64OpenBSD-ARM64.tar.gz
mage_1.17.0_windows_amd64Windows-64bit.zip
mage_1.17.0_windows_arm64Windows-ARM64.zip

This is due to the recent change of .gorelaeser.yml.

This PR fixes asset names.

Test

I ran goreleaser release and released assets to my fork.

https://github.com/suzuki-shunsuke/mage/releases/tag/v1.17.1

gh release view --json assets --jq ".assets[].name" -R suzuki-shunsuke/mage v1.17.1
mage_1.17.1_checksums.txt
mage_1.17.1_DragonFlyBSD-64bit.tar.gz
mage_1.17.1_FreeBSD-64bit.tar.gz
mage_1.17.1_FreeBSD-ARM.tar.gz
mage_1.17.1_FreeBSD-ARM64.tar.gz
mage_1.17.1_Linux-64bit.tar.gz
mage_1.17.1_Linux-ARM.tar.gz
mage_1.17.1_Linux-ARM64.tar.gz
mage_1.17.1_macOS-64bit.tar.gz
mage_1.17.1_macOS-ARM64.tar.gz
mage_1.17.1_NetBSD-64bit.tar.gz
mage_1.17.1_NetBSD-ARM.tar.gz
mage_1.17.1_NetBSD-ARM64.tar.gz
mage_1.17.1_OpenBSD-64bit.tar.gz
mage_1.17.1_OpenBSD-ARM64.tar.gz
mage_1.17.1_Windows-64bit.zip
mage_1.17.1_Windows-ARM64.zip

The naming style is same with v1.16.0.

gh release view --json assets --jq ".assets[].name" -R magefile/mage v1.16.0
mage_1.16.0_checksums.txt
mage_1.16.0_DragonFlyBSD-64bit.tar.gz
mage_1.16.0_FreeBSD-64bit.tar.gz
mage_1.16.0_FreeBSD-ARM.tar.gz
mage_1.16.0_FreeBSD-ARM64.tar.gz
mage_1.16.0_Linux-64bit.tar.gz
mage_1.16.0_Linux-ARM.tar.gz
mage_1.16.0_Linux-ARM64.tar.gz
mage_1.16.0_macOS-64bit.tar.gz
mage_1.16.0_NetBSD-64bit.tar.gz
mage_1.16.0_NetBSD-ARM.tar.gz
mage_1.16.0_OpenBSD-64bit.tar.gz
mage_1.16.0_OpenBSD-ARM64.tar.gz
mage_1.16.0_Windows-64bit.zip

natefinch
natefinch previously approved these changes Mar 28, 2026
Copy link
Copy Markdown
Member

@natefinch natefinch left a comment

Choose a reason for hiding this comment

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

Thank you! I added a test so that it doesn't get broken again.

@chantra
Copy link
Copy Markdown

chantra commented Mar 31, 2026

@natefinch are you planning to get a 1.18.0 release out after that?
I have some pipeline that uses https://github.com/magefile/mage-action and this is currently blocked when trying to pull 1.17 .
If 1.18 gets released with the original naming, this will be fixed without having to change anything.

@natefinch natefinch merged commit 00dd13d into magefile:master Mar 31, 2026
16 checks passed
@github-project-automation github-project-automation bot moved this to Done in main Mar 31, 2026
@natefinch
Copy link
Copy Markdown
Member

@chantra sorry for the delay, the tests were kind of a headache to fix, but I didn't want this to go in without proper tests so that they won't break again.

I just released v1.17.1 with the fixed asset names

@suzuki-shunsuke suzuki-shunsuke deleted the chore-fix-release-asset-name branch March 31, 2026 22:04
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.

goreleaser: release asset names are broken at v1.17.0

3 participants