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 31
31
run : pnpm install --frozen-lockfile
32
32
33
33
- name : Bump version
34
- run : pnpm run version ${{ inputs.version }}
34
+ run : |
35
+ pnpm run version ${{ inputs.version }}
36
+ git push origin --tags --force
35
37
36
38
- name : Create PR with new versions
37
39
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) => {
37
37
// it's not ideal to create and push a tag at the time the PR is created, but once the PR is
38
38
// merged main should contain the tag as if it were created there.
39
39
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 } "` ,
41
41
( error , stdout , stderr ) => {
42
42
if ( error ) {
43
43
reject ( error ) ;
You can’t perform that action at this time.
0 commit comments