File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3131 run : pnpm install --frozen-lockfile
3232
3333 - name : Bump version
34- run : pnpm run version ${{ inputs.version }}
34+ run : |
35+ pnpm run version ${{ inputs.version }}
36+ git push origin --tags --force
3537
3638 - name : Create PR with new versions
3739 uses : peter-evans/create-pull-request@v6
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ await new Promise((resolve, reject) => {
3737 // it's not ideal to create and push a tag at the time the PR is created, but once the PR is
3838 // merged main should contain the tag as if it were created there.
3939 exec (
40- `git commit --all --message="v${ newVersion } "; git tag "v ${ newVersion } "; git push origin --force "v${ newVersion } "` ,
40+ `git commit --all --message="v${ newVersion } " && git tag "v${ newVersion } "` ,
4141 ( error , stdout , stderr ) => {
4242 if ( error ) {
4343 reject ( error ) ;
You can’t perform that action at this time.
0 commit comments