Skip to content

Update binary name and version template in goreleaser config #38

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

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

catatsuy
Copy link
Owner

@catatsuy catatsuy commented Apr 6, 2024

This pull request includes changes to the .goreleaser.yml file. The changes include an update to the ldflags field to reflect the new location of the cli.Version variable, and a modification to the name_template field in the archives section to include the project version.

Here are the key changes:

  • .goreleaser.yml: The ldflags field in the builds section was updated to -X github.com/catatsuy/purl/internal/cli.Version=v{{.Version}} from -X github.com/catatsuy/purl/cli.Version=v{{.Version}}, reflecting the new location of the cli.Version variable.
  • .goreleaser.yml: The name_template field in the archives section was modified to '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}' from '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}', to include the project version.

@catatsuy catatsuy merged commit 1d2c504 into main Apr 6, 2024
@catatsuy catatsuy deleted the feature_mod_goreleaser branch April 6, 2024 09:25
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