Skip to content

Commit

Permalink
chore: refactor configuration and snapshot naming conventions
Browse files Browse the repository at this point in the history
- Update the version to 2 in the configuration
- Change the `name_template` under `snapshot` to `version_template`
- Remove example comments from the file

Signed-off-by: ysicing <[email protected]>
  • Loading branch information
ysicing committed Jan 17, 2025
1 parent ce3e166 commit 7fce443
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
version: 2

project_name: qcadmin

env:
Expand Down Expand Up @@ -53,7 +53,7 @@ checksum:
name_template: 'checksums.txt'

snapshot:
name_template: "{{ .Version }}-snapshot-{{ .ShortCommit }}"
version_template: "{{ .Version }}-snapshot-{{ .ShortCommit }}"

nfpms:
- file_name_template: 'qcadmin_{{ .Tag }}_{{ .Os }}_{{ .Arch }}'
Expand Down

0 comments on commit 7fce443

Please sign in to comment.