diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 50287aff..2c1b5aab 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,9 +38,9 @@ jobs: - name: "Release Version" if: success() && startsWith(github.ref, 'refs/tags/v') - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: '~> v2' args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -48,9 +48,9 @@ jobs: - name: "Release Snapshot" if: success() && !startsWith(github.ref, 'refs/tags/v') - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: '~> v2' args: release --clean --snapshot env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 3221f787..42b93b27 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,6 +2,7 @@ # # documentation at http://goreleaser.com --- +version: 2 project_name: govpp builds: @@ -44,7 +45,6 @@ checksum: name_template: 'checksums.txt' changelog: - skip: false sort: asc filters: exclude: