From 8d41184bece129ac5f4194e4ffb11a59858c5bff Mon Sep 17 00:00:00 2001 From: Tim Burks Date: Fri, 10 Mar 2023 11:46:41 -0800 Subject: [PATCH] Set RELEASE_VERSION in release action. (#1081) --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce1cd0549..7d195f10a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + - run: | + echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - run: | echo ::set-output name=version::${GITHUB_REF#refs/tags/} - uses: actions/setup-go@v3 @@ -39,4 +41,3 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RELEASE_VERSION: ${{ steps.prep.outputs.version }}