From dbd5cd3c5e6f274eba5a0b7d60338a7011287cc3 Mon Sep 17 00:00:00 2001 From: Pablo RUTH Date: Mon, 17 Jun 2024 13:53:44 +0200 Subject: [PATCH] upgrade gorelease --- .github/workflows/master.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/tag.yml | 2 +- .goreleaser.yml | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 1d1f871..7f0cb7e 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -25,7 +25,7 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release --snapshot --skip-sign --clean + args: release --snapshot --skip=sign --clean env: GORELEASER_CURRENT_TAG: ${{ github.run_id }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2d51dce..b1a70e5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,7 +22,7 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release --snapshot --skip-sign --clean + args: release --snapshot --skip=sign --clean - uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 850aac5..663ec97 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -75,4 +75,4 @@ jobs: git config --local user.name "GitHub Action" git add . git commit -m "Add new rpm files" - git push \ No newline at end of file + git push diff --git a/.goreleaser.yml b/.goreleaser.yml index 3358d36..91f2e87 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + before: hooks: - go mod download @@ -33,7 +35,7 @@ signs: - "--detach-sign" - "${artifact}" changelog: - skip: true + disable: true nfpms: - maintainer: Pablo RUTH homepage: https://github.com/signmykeyio/signmykey