From 053fcc75378c4d620710689c3b471f1c1bae0157 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 09:15:07 +0000 Subject: [PATCH 1/4] Bump goreleaser/goreleaser-action from 5 to 7 Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5 to 7. - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](https://github.com/goreleaser/goreleaser-action/compare/v5...v7) --- updated-dependencies: - dependency-name: goreleaser/goreleaser-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2295dc96e5..51eb64e5ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: "Place wintun.dll" run: cp deps/wintun/bin/amd64/wintun.dll ./ - name: build - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v7 env: BUILD_ENV: "development" with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9dd3dc94f2..566853f8e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Run GoReleaser if: steps.cache.outputs.cache-hit != 'true' # do not run if cache hit - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v7 with: distribution: goreleaser-pro version: latest @@ -143,7 +143,7 @@ jobs: overwrite: true - name: Github release if: steps.cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/master' - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v7 with: distribution: goreleaser-pro version: latest From 0b065fdd2af25a2c95cfa2c4888c3e8df07081b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Mon, 23 Feb 2026 22:25:19 -0300 Subject: [PATCH 2/4] Update goreleaser configs to version 2 GoReleaser v7 requires version: 2 config files. Also rename snapshot.name_template to snapshot.version_template per v2 breaking change. --- .goreleaser.2.yml | 2 ++ .goreleaser.yml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.goreleaser.2.yml b/.goreleaser.2.yml index e6fcfc221a..8519c60c58 100644 --- a/.goreleaser.2.yml +++ b/.goreleaser.2.yml @@ -1,6 +1,8 @@ # This config targets the new flypkgs distribution system. Once all releases are # being served by flypkgs, this file will replace .goreleaser.yml and .goreleaser.dev.yml +version: 2 + env: - BUILD_ENV={{if index .Env "BUILD_ENV"}}{{.Env.BUILD_ENV}}{{else}}production{{end}} diff --git a/.goreleaser.yml b/.goreleaser.yml index 8ee35e59f0..8d70a6c88f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + env: - BUILD_ENV={{if index .Env "BUILD_ENV"}}{{.Env.BUILD_ENV}}{{else}}production{{end}} @@ -95,7 +97,7 @@ checksum: name_template: "checksums.txt" snapshot: - name_template: "{{.Version}}-{{.Branch}}.{{.CommitTimestamp}}" + version_template: "{{.Version}}-{{.Branch}}.{{.CommitTimestamp}}" changelog: sort: asc From 855665aeb7edb1cc5c17fe810950965109fd7dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Mon, 23 Feb 2026 22:27:40 -0300 Subject: [PATCH 3/4] fix(goreleaser): rename brews.folder to brews.directory for v2 config --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 8d70a6c88f..29ddbdc54a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -110,7 +110,7 @@ brews: - repository: owner: superfly name: homebrew-tap - folder: Formula + directory: Formula homepage: https://fly.io skip_upload: auto test: | From 4e93879227a4aefd0af62bf7f861c8e8a26cae03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Mon, 23 Feb 2026 22:48:03 -0300 Subject: [PATCH 4/4] pin goreleaser version to ~> v2 --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51eb64e5ca..e69640ee37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: env: BUILD_ENV: "development" with: - version: latest + version: "~> v2" args: build --clean --snapshot --verbose - name: Upload flyctl for preflight uses: actions/upload-artifact@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 566853f8e1..cd59dc54b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,7 +98,7 @@ jobs: uses: goreleaser/goreleaser-action@v7 with: distribution: goreleaser-pro - version: latest + version: "~> v2" args: release --clean -f .goreleaser.2.yml --fail-fast --split env: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} @@ -146,7 +146,7 @@ jobs: uses: goreleaser/goreleaser-action@v7 with: distribution: goreleaser-pro - version: latest + version: "~> v2" args: continue --merge env: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}