Skip to content

Commit

Permalink
fix(actions): fix releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Apr 5, 2021
1 parent c8dd71e commit cc5f387
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
- run: git config --local user.name '${{ github.actor }}'
- run: git config --local user.email '${{ github.actor }}@users.noreply.github.com'
- run: npm run release
- run: echo "::set-output name=tag::$(git describe --abbrev=0)"
- run: |
tag=$(git describe --abbrev=0)
echo ::set-output name=tag::${tag}
id: get-tag
- run: git push --follow-tags
- run: git tag --force --annotate --message 'Release v2' v2
Expand Down

0 comments on commit cc5f387

Please sign in to comment.