Skip to content

Commit

Permalink
Merge pull request #46 from k14s/use-env-files
Browse files Browse the repository at this point in the history
Use env files for variables in release workflow
  • Loading branch information
jbrunton authored Oct 18, 2020
2 parents d4f707e + 41b927d commit b145092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
LATEST_RELEASE=$(hub release | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -r | head -n 1)
echo "latest release: $LATEST_RELEASE"
echo ::set-env name=LATEST_RELEASE::$LATEST_RELEASE
echo "LATEST_RELEASE=$LATEST_RELEASE" >> $GITHUB_ENV
- name: update major tag
if: env.THIS_RELEASE == env.LATEST_RELEASE
run: |
Expand Down

0 comments on commit b145092

Please sign in to comment.