diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f8a6ee..ac85bfb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: - args: -p 3 release --rm-dist + args: -p 3 release --clean version: latest strategy: fail-fast: true diff --git a/.goreleaser.yml b/.goreleaser.yml index 237dc28..d61c03a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,7 @@ +version: 2 archives: - id: archive - name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}' + name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}" before: hooks: - make tfgen @@ -21,9 +22,9 @@ builds: - -X github.com/impart-security/pulumi-impart/provider/pkg/version.Version={{.Tag }} main: ./cmd/pulumi-resource-impart/ changelog: - skip: true + disable: true release: disable: false prerelease: auto snapshot: - name_template: '{{ .Tag }}-SNAPSHOT' + name_template: "{{ .Tag }}-SNAPSHOT"