Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The tag being released, not whichever tag goreleaser finds on HEAD.
# It resolves one from `git tag --points-at HEAD --sort=-version:refname`,
# and git's version sort ranks v0.0.1-alpha.2 above v0.0.1, so a stable
# tag on the same commit as its prerelease republishes the prerelease.
GORELEASER_CURRENT_TAG: ${{ steps.tag.outputs.value }}
# Pushing the cask to loft-sh/homebrew-tap is a cross-repo write, which
# GITHUB_TOKEN cannot do.
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
Expand Down