From a381ab5039e5b6127246448543ee987e348965d1 Mon Sep 17 00:00:00 2001 From: Nic Manoogian Date: Wed, 5 Jun 2024 12:48:41 -0400 Subject: [PATCH] chore: Update to goreleaser 2, fix flags --- .github/workflows/release-tests.yaml | 2 +- .goreleaser.yml | 1 + Makefile | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-tests.yaml b/.github/workflows/release-tests.yaml index 3189179f..3cbd44f0 100644 --- a/.github/workflows/release-tests.yaml +++ b/.github/workflows/release-tests.yaml @@ -27,7 +27,7 @@ jobs: uses: goreleaser/goreleaser-action@v1 with: version: latest - args: release --snapshot --skip-publish --skip-sign + args: release --snapshot --skip=publish,sign env: GOPATH: ${{ runner.workspace }} - uses: actions/upload-artifact@master diff --git a/.goreleaser.yml b/.goreleaser.yml index efbb708f..b35ea796 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 project_name: doppler before: diff --git a/Makefile b/Makefile index dbd20d6b..9fd6a9fc 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ test-packages: ./tests/packages.sh test-release: - doppler run -- goreleaser release --snapshot --skip-publish --clean --parallelism=4 + doppler run -- goreleaser release --snapshot --skip publish --clean --parallelism=4 scan: if [ ! -f "$$GOPATH/bin/gosec" ]; then echo "Error: gosec is not installed\n\nYou can install gosec with 'go get github.com/securego/gosec/cmd/gosec'\n" && exit 1; fi