Skip to content

Commit

Permalink
Fixes the release with goreleaser fixed version (#110)
Browse files Browse the repository at this point in the history
[Replacements](https://github.com/Skyscanner/turbolift/blob/9f28424daf82663b91716b6888c12cfb6a04ca0e/.goreleaser.yml#L16-L21) have been deprecated on goreleaser since this [commit](https://github.com/goreleaser/goreleaser/pull/3589/files#diff-5563ff2aab3eb7eae7bd8557cd2c086d8373263762684283485b2f0a00a0f52a).
The github action for goreleaser unfortunately uses the latest
goreleaser version instead of a fixed version.

We need to address the replacements in a future commit, for now we are just forcing an older version of goreleaser.
The version of goreleaser that includes the deprecation of `replacements` is [v1.19.0](https://github.com/goreleaser/goreleaser/releases/tag/v1.19.0).
We are rolling back now to [v1.18.2](https://github.com/goreleaser/goreleaser/releases/tag/v1.18.2).
  • Loading branch information
sledigabel authored Nov 9, 2023
1 parent 9f28424 commit 3e0e3cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
with:
args: release --rm-dist
version: v1.18.2
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

0 comments on commit 3e0e3cf

Please sign in to comment.