Skip to content

Commit 7fce443

Browse files
committed
chore: refactor configuration and snapshot naming conventions
- 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]>
1 parent ce3e166 commit 7fce443

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.goreleaser.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# This is an example .goreleaser.yml file with some sensible defaults.
2-
# Make sure to check the documentation at https://goreleaser.com
1+
version: 2
2+
33
project_name: qcadmin
44

55
env:
@@ -53,7 +53,7 @@ checksum:
5353
name_template: 'checksums.txt'
5454

5555
snapshot:
56-
name_template: "{{ .Version }}-snapshot-{{ .ShortCommit }}"
56+
version_template: "{{ .Version }}-snapshot-{{ .ShortCommit }}"
5757

5858
nfpms:
5959
- file_name_template: 'qcadmin_{{ .Tag }}_{{ .Os }}_{{ .Arch }}'

0 commit comments

Comments
 (0)