Skip to content

Commit bb76960

Browse files
committed
fix: deprecated goreleaser arg
1 parent b0647ce commit bb76960

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/on_push.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
uses: goreleaser/goreleaser-action@v4
3838
with:
3939
version: latest
40-
args: release --rm-dist --snapshot
40+
args: release --clean --snapshot

.github/workflows/on_tag.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
GITHUB_TOKEN: ${{ secrets.TOKEN }}
3434
with:
3535
version: latest
36-
args: release --rm-dist
36+
args: release --clean

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build: clean
55
go build ./bin/vproxy
66

77
snapshot: clean
8-
goreleaser release --snapshot --rm-dist
8+
goreleaser release --snapshot --clean
99

1010
install-formula: snapshot
1111
cp -a dist/vproxy.rb dist/vproxy-head.rb /usr/local/Homebrew/Library/Taps/jittering/homebrew-kegs/Formula/
@@ -20,11 +20,11 @@ build-windows:
2020
GOOS=windows go build -o vproxy-windows-x64 ./bin/vproxy/
2121

2222
release: clean
23-
goreleaser release --rm-dist
23+
goreleaser release --clean
2424

2525
check-style:
2626
goreleaser check
27-
goreleaser --snapshot --skip-validate --rm-dist
27+
goreleaser --snapshot --skip-validate --clean
2828
# get cops
2929
cops=$$(cat /usr/local/Homebrew/Library/Taps/jittering/homebrew-kegs/.rubocop.yml \
3030
| grep -v Enabled | grep -v '#' | grep -v '^$$' | tr ':\n' ','); \

0 commit comments

Comments
 (0)