Skip to content

Commit

Permalink
fix goreleaser
Browse files Browse the repository at this point in the history
update goreleaser flags to 2.x
  • Loading branch information
leucos committed Jun 26, 2024
1 parent bf9dc7b commit 0ebae9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ release: windows darwin linux freebsd ; $(info $(M) stripping release executable
$Q $(BIN)/$(PACKAGE) version

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

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

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

0 comments on commit 0ebae9b

Please sign in to comment.