From 8bcc6ae1382bdeaf050127de26d43a5de0087667 Mon Sep 17 00:00:00 2001 From: Bojan Date: Mon, 16 Nov 2020 21:23:26 -0400 Subject: [PATCH] fixing github release workflow env vars --- .github/workflows/release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c787563e..b979017a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -39,10 +39,9 @@ jobs: id: current-time - name: Set version - # run: echo "::set-env name=RELEASE_VERSION::${GITHUB_REF/refs\/tags\//}" run: | echo 'RELEASE_VERSION<> $GITHUB_ENV - git describe --tags $(git rev-list --tags --max-count=1)) >> $GITHUB_ENV + git describe --tags $(git rev-list --tags --max-count=1) >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - name: Build ghz @@ -92,7 +91,7 @@ jobs: - name: Set version run: | echo 'RELEASE_VERSION<> $GITHUB_ENV - ${GITHUB_REF/refs\/tags\//} >> $GITHUB_ENV + echo ${GITHUB_REF/refs\/tags\//} >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV # These can be squashed when https://github.com/actions/download-artifact/issues/6 is closed