Skip to content

Commit

Permalink
set GORELEASER_CURRENT_TAG for release (#4181)
Browse files Browse the repository at this point in the history
* set GORELEASER_CURRENT_TAG for release

* set env for single step only
  • Loading branch information
Craig O'Donnell authored Nov 29, 2023
1 parent 44c82b1 commit 3d2a192
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
goreleaser:
runs-on: ubuntu-20.04
if: github.ref_type != 'branch'
needs: [build-web]
needs: [generate-tag, build-web]
steps:
- uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -268,6 +268,7 @@ jobs:
args: release --rm-dist --config deploy/.goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_CURRENT_TAG: ${{ needs.generate-tag.outputs.tag }}

generate-kurl-addon:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 3d2a192

Please sign in to comment.