Skip to content

Commit

Permalink
Update goreleaser/goreleaser-action action to v6 (#32)
Browse files Browse the repository at this point in the history
* Update goreleaser/goreleaser-action action to v6

* goreleaser: migrate config to v2

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Manuel "Kang" Perez <[email protected]>
  • Loading branch information
renovate[bot] and Juan Manuel "Kang" Perez authored Aug 14, 2024
1 parent e67786d commit 5b56102
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: Run GoReleaser in dry run-mode
if: startsWith(github.ref, 'refs/heads/main') == false
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: build --clean
Expand All @@ -60,7 +60,7 @@ jobs:

- name: Run GoReleaser
if: startsWith(github.ref, 'refs/heads/main') == true
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

before:
hooks:
- go mod tidy
Expand All @@ -21,7 +23,7 @@ snapshot:
name_template: "next-{{ incpatch .Version }}"

changelog:
skip: true
disable: true

release:
disable: true
Expand Down

0 comments on commit 5b56102

Please sign in to comment.