From 73e3a58b1fcf3b0577164b1860eb07f8e2d60ec1 Mon Sep 17 00:00:00 2001 From: Jonathan Vogt Date: Thu, 9 Jan 2025 14:42:09 +0100 Subject: [PATCH] update goreleaser config to version 2 --- .goreleaser-macos-latest.yaml | 3 ++- .goreleaser-release.yaml | 1 + .goreleaser-ubuntu-latest.yaml | 6 ++---- .goreleaser-windows-latest.yaml | 6 ++---- .goreleaser.yaml | 5 ++--- 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.goreleaser-macos-latest.yaml b/.goreleaser-macos-latest.yaml index 70fd86d..59c50ad 100644 --- a/.goreleaser-macos-latest.yaml +++ b/.goreleaser-macos-latest.yaml @@ -1,3 +1,4 @@ +version: 2 project_name: clisso before: hooks: @@ -30,4 +31,4 @@ archives: name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" snapshot: - name_template: "{{ incpatch .Version }}-next" \ No newline at end of file + version_template: "{{ incpatch .Version }}-next" \ No newline at end of file diff --git a/.goreleaser-release.yaml b/.goreleaser-release.yaml index 6ca7811..c1ed8c0 100644 --- a/.goreleaser-release.yaml +++ b/.goreleaser-release.yaml @@ -1,3 +1,4 @@ +version: 2 builds: - skip: true changelog: diff --git a/.goreleaser-ubuntu-latest.yaml b/.goreleaser-ubuntu-latest.yaml index 151e83f..04f7262 100644 --- a/.goreleaser-ubuntu-latest.yaml +++ b/.goreleaser-ubuntu-latest.yaml @@ -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 ./... @@ -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: diff --git a/.goreleaser-windows-latest.yaml b/.goreleaser-windows-latest.yaml index 9f47b57..4e80ca4 100644 --- a/.goreleaser-windows-latest.yaml +++ b/.goreleaser-windows-latest.yaml @@ -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 ./... @@ -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: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9c487e2..3fd3d94 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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: @@ -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: