diff --git a/.github/workflows/.goreleaser.yml b/.github/workflows/.goreleaser.yml index 85bc5876..013845cb 100644 --- a/.github/workflows/.goreleaser.yml +++ b/.github/workflows/.goreleaser.yml @@ -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 }} diff --git a/.github/workflows/manual_goreleaser.yml b/.github/workflows/manual_goreleaser.yml index 47fd76af..10fd578a 100644 --- a/.github/workflows/manual_goreleaser.yml +++ b/.github/workflows/manual_goreleaser.yml @@ -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 }} diff --git a/.goreleaser.yml b/.goreleaser.yml index a925a587..1f3b1ce5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ --- +version: 2 before: hooks: - go mod download @@ -62,7 +63,7 @@ release: draft: true name_template: "HAProxy Data Plane API v{{.Version}}" nfpms: - - + - id: my-package package_name: dataplaneapi builds: