File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -390,15 +390,6 @@ async function run() {
390390
391391 console . info ( )
392392
393- console . info ( `Creating github release...` )
394- // Stringify the markdown to excape any quotes
395- execSync (
396- `gh release create v${ version } ${
397- ! isMainBranch ? '--prerelease' : ''
398- } --notes '${ changelogMd . replace ( / ' / g, '"' ) } '`,
399- )
400- console . info ( ` Github release created.` )
401-
402393 console . info ( `Committing changes...` )
403394 execSync ( `git add -A && git commit -m "${ releaseCommitMsg ( version ) } "` )
404395 console . info ( )
@@ -417,6 +408,15 @@ async function run() {
417408 console . info ( )
418409 console . info ( ` Tags pushed.` )
419410
411+ console . info ( `Creating github release...` )
412+ // Stringify the markdown to excape any quotes
413+ execSync (
414+ `gh release create v${ version } ${
415+ ! isMainBranch ? '--prerelease' : ''
416+ } --notes '${ changelogMd . replace ( / ' / g, '"' ) } '`,
417+ )
418+ console . info ( ` Github release created.` )
419+
420420 console . info ( `All done!` )
421421}
422422
You can’t perform that action at this time.
0 commit comments