From 3d2a19270a7d798f78d9f971f3651f8abf2b4a8f Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Wed, 29 Nov 2023 12:51:53 -0500 Subject: [PATCH] set GORELEASER_CURRENT_TAG for release (#4181) * set GORELEASER_CURRENT_TAG for release * set env for single step only --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0c8b480a81..2f83f5456e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: @@ -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