From dc999e195b65586968e739c0e2cf157e7d66d8b9 Mon Sep 17 00:00:00 2001 From: Nikita Galkin Date: Mon, 9 Sep 2024 16:22:27 +0300 Subject: [PATCH 1/8] check goreleaser --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c94c1e..82fb35d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,8 +5,8 @@ name: Release # "v*" (e.g. v0.1.0) is created. on: push: - tags: - - 'v*' + # tags: + # - 'v*' # Releases need permissions to read and write the repository contents. # GitHub considers creating releases and uploading assets as writing contents. From 8a9981399428043f4a1fb68b9c0deccbec21aa37 Mon Sep 17 00:00:00 2001 From: Nikita Galkin Date: Mon, 9 Sep 2024 16:23:53 +0300 Subject: [PATCH 2/8] check --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82fb35d..2964c03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0 with: - version: 2.x + version: 2 args: release --clean env: # GitHub sets the GITHUB_TOKEN secret automatically. From e8c5193965e2b5c98a89f630934f6cd2a5bd0100 Mon Sep 17 00:00:00 2001 From: Nikita Galkin Date: Mon, 9 Sep 2024 16:26:35 +0300 Subject: [PATCH 3/8] check --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2964c03..555d78a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0 with: - version: 2 + version: v2.2.0 args: release --clean env: # GitHub sets the GITHUB_TOKEN secret automatically. From 8ad2ae8e0ce916d125f4c1109dcf104bcf204478 Mon Sep 17 00:00:00 2001 From: Nikita Galkin Date: Mon, 9 Sep 2024 16:36:53 +0300 Subject: [PATCH 4/8] check --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 555d78a..f2e889f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,9 +17,8 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - uses: actions/checkout@v4 with: - # Allow goreleaser to access older tag information. fetch-depth: 0 - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: @@ -34,7 +33,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0 with: - version: v2.2.0 + version: "~> v2" args: release --clean env: # GitHub sets the GITHUB_TOKEN secret automatically. From 6ac95f1d433aaee6a9ddc53214acc7f7a3806d50 Mon Sep 17 00:00:00 2001 From: Nikita Galkin Date: Mon, 9 Sep 2024 16:39:16 +0300 Subject: [PATCH 5/8] check --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2e889f..77394ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0 + uses: goreleaser/goreleaser-action@v6 with: version: "~> v2" args: release --clean From 1c9c387d53349fc361207ceaa4bd5742ff38cdb4 Mon Sep 17 00:00:00 2001 From: Nikita Galkin Date: Mon, 9 Sep 2024 16:43:17 +0300 Subject: [PATCH 6/8] check --- .goreleaser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 9bb0aa7..e50f457 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # Visit https://goreleaser.com for documentation on how to customize this # behavior. +version: 2 before: hooks: # this is just an example and not a requirement for provider building/publishing From d0c9375a8663071ca5b914e5de98f030190ecdc2 Mon Sep 17 00:00:00 2001 From: Nikita Galkin Date: Mon, 9 Sep 2024 16:53:42 +0300 Subject: [PATCH 7/8] check --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e50f457..28ec83a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -58,4 +58,4 @@ release: # If you want to manually examine the release before its live, uncomment this line: # draft: true changelog: - skip: true + disable: true From c54f4336afe839affdc25dfc0a0946afe8839725 Mon Sep 17 00:00:00 2001 From: Nikita Galkin Date: Mon, 9 Sep 2024 16:55:45 +0300 Subject: [PATCH 8/8] uncommit on push tag --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77394ff..d3a1295 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,8 +5,8 @@ name: Release # "v*" (e.g. v0.1.0) is created. on: push: - # tags: - # - 'v*' + tags: + - 'v*' # Releases need permissions to read and write the repository contents. # GitHub considers creating releases and uploading assets as writing contents.