Skip to content

Commit

Permalink
BUILD/MINOR: goreleaser: Upgrade to goreleaser v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mjuraga committed Jun 6, 2024
1 parent 32b1b25 commit 4322734
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
go-version-file: 'go.mod'
check-latest: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean --skip-announce
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/manual_goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
run: |
git checkout $(git describe --tags --abbrev=0)
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean --skip-announce
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
version: 2
before:
hooks:
- go mod download
Expand Down Expand Up @@ -62,7 +63,7 @@ release:
draft: true
name_template: "HAProxy Data Plane API v{{.Version}}"
nfpms:
-
-
id: my-package
package_name: dataplaneapi
builds:
Expand Down

0 comments on commit 4322734

Please sign in to comment.