Skip to content

Commit 0ebae9b

Browse files
committed
fix goreleaser
update goreleaser flags to 2.x
1 parent bf9dc7b commit 0ebae9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
uses: goreleaser/goreleaser-action@v2
2727
with:
2828
version: latest
29-
args: release --rm-dist
29+
args: release --clean
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ release: windows darwin linux freebsd ; $(info $(M) stripping release executable
7272
$Q $(BIN)/$(PACKAGE) version
7373

7474
goreleaser-test: fmt lint clean ; $(info $(M) goreleaser dry-run…) @ ## Build program binary
75-
goreleaser --snapshot --skip-publish --rm-dist
75+
goreleaser release --snapshot --skip=publish --clean
7676

7777
goreleaser: fmt lint clean test; $(info $(M) create a release with goreleaser…) @ ## Build program binary
78-
goreleaser --rm-dist
78+
goreleaser releaser --clean
7979

8080
prepush: outdated ; $(info $(M) execute CI linters…) @ ## execute linting tests so we should not fail liting in CI
8181
$Q $(GO) vet ./...

0 commit comments

Comments
 (0)