Skip to content

Commit

Permalink
releng: update goreleaser to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dmke committed Jun 6, 2024
1 parent 26dd3ea commit 9284a41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
go-version: ${{ env.GO_VERSION }}

- name: Run goreleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

before:
hooks:
- go mod tidy
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ test-load: tmp ## sends 200 documents to a running instance

.PHONY: release-test
release-test: ## runs goreleaser, but skips publishing
goreleaser release --rm-dist --skip-publish
goreleaser release --clean --skip=publish

.PHONY: release-publish
release-publish: ## runs goreleaser and publishes artifacts
goreleaser release --rm-dist
goreleaser release --clean

.PHONY: docker-latest
docker-latest: build ## builds a Docker container with the latest binary
Expand Down

0 comments on commit 9284a41

Please sign in to comment.