diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01a61c729..2ffebcd7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: with: distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 6fe74c284..77bc73d8c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 builds: - binary: trufflehog ldflags: @@ -87,7 +88,7 @@ docker_manifests: - ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64 - ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8 brews: - - tap: + - repository: owner: trufflesecurity name: homebrew-trufflehog token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" @@ -107,4 +108,4 @@ signs: - "--output-signature=${signature}" - "${artifact}" - "--yes" - artifacts: checksum \ No newline at end of file + artifacts: checksum diff --git a/Makefile b/Makefile index 917881c47..58889089e 100644 --- a/Makefile +++ b/Makefile @@ -65,4 +65,4 @@ snifftest: ./hack/snifftest/snifftest.sh test-release: - goreleaser release --rm-dist --skip-publish --snapshot + goreleaser release --clean --skip-publish --snapshot