File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,17 @@ jobs:
5050 run : yarn workspaces foreach --all --topological --parallel --no-private run build
5151 continue-on-error : true
5252
53- - name : Bump version & create tag (only on main branch )
53+ - name : Bump version & commit (only on main)
5454 if : github.ref == 'refs/heads/main'
5555 run : |
5656 yarn workspaces foreach --all version patch
57+
58+ git config user.name "github-actions[bot]"
59+ git config user.email "github-actions[bot]@users.noreply.github.com"
60+ git add -A
61+ git commit -m "chore(release): bump versions"
62+ git tag v$(jq -r .version package.json)
63+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
5764 git push --follow-tags
5865
5966 - name : Publish to npm using yarn workspaces
You can’t perform that action at this time.
0 commit comments