Skip to content

Commit

Permalink
Merge pull request #15425 from mozilla/github-actions-tag-release-fixup
Browse files Browse the repository at this point in the history
fix(release): Env var must be in same command as echo
  • Loading branch information
biancadanforth authored Jun 7, 2023
2 parents 3a0bcfc + b94a60d commit 404b588
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:

- name: Compute new version number
run: |
versionNumber=$(git tag -l --sort=version:refname | grep -v '-' | tail -1 | awk '{print $2 + 1}' FS='.')
echo "versionNumber=$versionNumber" >> "$GITHUB_ENV"
echo versionNumber=$(git tag -l --sort=version:refname | grep -v '-' | tail -1 | awk '{print $2 + 1}' FS='.') >> "$GITHUB_ENV"
- name: Create release branch
run: git checkout -b train-${{ env.versionNumber }}
Expand Down

0 comments on commit 404b588

Please sign in to comment.