From bb76960bbb7ea3f23750da02d78259654a402561 Mon Sep 17 00:00:00 2001 From: Chetan Sarva Date: Thu, 17 Aug 2023 10:09:58 -0400 Subject: [PATCH] fix: deprecated goreleaser arg --- .github/workflows/on_push.yaml | 2 +- .github/workflows/on_tag.yaml | 2 +- Makefile | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/on_push.yaml b/.github/workflows/on_push.yaml index 873dc14..ae0a5a7 100644 --- a/.github/workflows/on_push.yaml +++ b/.github/workflows/on_push.yaml @@ -37,4 +37,4 @@ jobs: uses: goreleaser/goreleaser-action@v4 with: version: latest - args: release --rm-dist --snapshot + args: release --clean --snapshot diff --git a/.github/workflows/on_tag.yaml b/.github/workflows/on_tag.yaml index 8a28718..c670ad9 100644 --- a/.github/workflows/on_tag.yaml +++ b/.github/workflows/on_tag.yaml @@ -33,4 +33,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.TOKEN }} with: version: latest - args: release --rm-dist + args: release --clean diff --git a/Makefile b/Makefile index 4cac50c..158bea3 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ build: clean go build ./bin/vproxy snapshot: clean - goreleaser release --snapshot --rm-dist + goreleaser release --snapshot --clean install-formula: snapshot cp -a dist/vproxy.rb dist/vproxy-head.rb /usr/local/Homebrew/Library/Taps/jittering/homebrew-kegs/Formula/ @@ -20,11 +20,11 @@ build-windows: GOOS=windows go build -o vproxy-windows-x64 ./bin/vproxy/ release: clean - goreleaser release --rm-dist + goreleaser release --clean check-style: goreleaser check - goreleaser --snapshot --skip-validate --rm-dist + goreleaser --snapshot --skip-validate --clean # get cops cops=$$(cat /usr/local/Homebrew/Library/Taps/jittering/homebrew-kegs/.rubocop.yml \ | grep -v Enabled | grep -v '#' | grep -v '^$$' | tr ':\n' ','); \