File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,14 +162,14 @@ const release = () => {
162162 log ( chalk . magenta ( '--- STEP 5: VERSION PACKAGES ---' ) ) ;
163163 runCmd ( 'npx lerna version --conventional-commits --yes' ) ;
164164
165- log ( chalk . magenta ( '--- STEP 6: PUSH TAGS ---' ) ) ;
166- runCmd ( `git push origin ${ getCurrentBranch ( ) } --follow-tags` ) ;
167-
168- log ( chalk . magenta ( '--- STEP 7: PUBLISH PACKAGES ---' ) ) ;
165+ log ( chalk . magenta ( '--- STEP 6: PUBLISH PACKAGES ---' ) ) ;
169166 let releaseCmd = 'npx lerna publish from-git --yes' ;
170167 if ( argv . next ) releaseCmd += ' --canary --preid next --dist-tag next' ;
171168 if ( argv . loglevel ) releaseCmd += ` --loglevel ${ argv . loglevel } ` ;
172169 runCmd ( releaseCmd ) ;
170+
171+ log ( chalk . magenta ( '--- STEP 7: PUSH TAGS ---' ) ) ;
172+ runCmd ( `git push origin ${ getCurrentBranch ( ) } --follow-tags` ) ;
173173} ;
174174
175175/**
You can’t perform that action at this time.
0 commit comments