Skip to content

Commit

Permalink
create commit after yarn version call inside pubish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
robertKozik committed Feb 7, 2024
1 parent 90bfc27 commit 065570e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ jobs:
- name: Set new version in GitHub ENV
run: echo "NEW_VERSION=$(jq '.version' package.json)" >> $GITHUB_ENV

- name: Commit version bump
run: git commit -am "Bump version to ${{ env.NEW_VERSION }}"

- name: Tag version bump
run: git tag ${{ env.NEW_VERSION }}

- name: Push branch and publish tags
run: git push --set-upstream origin ${{ env.BRANCH_NAME }} && git push --tags

Expand Down

0 comments on commit 065570e

Please sign in to comment.