Skip to content

Commit

Permalink
fixing github release workflow env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
bojand committed Nov 17, 2020
1 parent 68bdb5f commit 8bcc6ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<EOF' >> $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
Expand Down Expand Up @@ -92,7 +91,7 @@ jobs:
- name: Set version
run: |
echo 'RELEASE_VERSION<<EOF' >> $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
Expand Down

0 comments on commit 8bcc6ae

Please sign in to comment.