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

chore: update GoReleaser to release assets for darwin/arm64 and windows/arm64 #17

Merged
merged 1 commit into from
Dec 21, 2023
Merged

chore: update GoReleaser to release assets for darwin/arm64 and windows/arm64 #17

merged 1 commit into from
Dec 21, 2023

Conversation

suzuki-shunsuke
Copy link
Contributor

@suzuki-shunsuke suzuki-shunsuke commented Dec 20, 2023

Close #16

Test

I confirmed the issue would be resolved.

https://github.com/suzuki-shunsuke/didder/releases/tag/v1.3.1-2

image

@@ -45,10 +45,15 @@ builds:

archives:
- format: binary
replacements:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

replacements was deprecated.
To upgrade GoReleaser, we need to fix this.
https://goreleaser.com/deprecations/?h=replacements#__tabbed_14_2

Comment on lines +48 to +56
name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- if eq .Os "darwin" }}macOS
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}64-bit
{{- else if eq .Arch "386" }}32-bit
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@makew0rld
Copy link
Owner

Thanks for this!

@makew0rld makew0rld merged commit 5e8316f into makew0rld:main Dec 21, 2023
2 checks passed
@suzuki-shunsuke suzuki-shunsuke deleted the fix-release branch December 21, 2023 00:34
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.

v1.3.0 has no prebuilt binaries for windows/arm64 and darwin/arm64
2 participants