Skip to content

Commit

Permalink
update goreleaser config to version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bitte-ein-bit committed Jan 9, 2025
1 parent 747ca67 commit 73e3a58
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .goreleaser-macos-latest.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
project_name: clisso
before:
hooks:
Expand Down Expand Up @@ -30,4 +31,4 @@ archives:
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"

snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
1 change: 1 addition & 0 deletions .goreleaser-release.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
builds:
- skip: true
changelog:
Expand Down
6 changes: 2 additions & 4 deletions .goreleaser-ubuntu-latest.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# 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: clisso
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
Expand Down Expand Up @@ -36,7 +34,7 @@ archives:
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"

snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
Expand Down
6 changes: 2 additions & 4 deletions .goreleaser-windows-latest.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# 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: clisso
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
Expand Down Expand Up @@ -36,7 +34,7 @@ archives:
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"

snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
Expand Down
5 changes: 2 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# 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: clisso
before:
hooks:
Expand Down Expand Up @@ -46,7 +45,7 @@ archives:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
Expand Down

0 comments on commit 73e3a58

Please sign in to comment.