Skip to content

Commit

Permalink
Create Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Luehrsen committed Mar 25, 2022
1 parent c1635ad commit ffb4e04
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,17 @@ jobs:
- name: 🏗 Build the code release
run: npm run release

- name: Create tag
uses: actions/github-script@v5
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/${{ steps.version.outputs.version }}',
sha: context.sha
})
- name: Push the version to git
run: |
git push && git push --tags
Expand Down

0 comments on commit ffb4e04

Please sign in to comment.