Skip to content

Commit

Permalink
fix: deprecated goreleaser arg
Browse files Browse the repository at this point in the history
  • Loading branch information
chetan committed Aug 17, 2023
1 parent b0647ce commit bb76960
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist --snapshot
args: release --clean --snapshot
2 changes: 1 addition & 1 deletion .github/workflows/on_tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
version: latest
args: release --rm-dist
args: release --clean
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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' ','); \
Expand Down

0 comments on commit bb76960

Please sign in to comment.