@@ -238,17 +238,17 @@ actions =
238238 # actions.prepublish(opts, safe next, step2)
239239 step1 = ->
240240 console .log (' \n npm publish:' )
241- spawn (NPM, [' publish' ], {output : true , cwd : APP_PATH}).on (' close' , safe next, step3 )
241+ spawn (NPM, [' publish' ], {output : true , cwd : APP_PATH}).on (' close' , safe next, step2 )
242242 step2 = ->
243243 console .log (' \n git tag:' )
244- spawn (GIT, [' tag' , ' v' + PACKAGE_DATA .version , ' -a' ], {output : true , cwd : APP_PATH}).on (' close' , safe next, step4 )
244+ spawn (GIT, [' tag' , ' v' + PACKAGE_DATA .version , ' -a' ], {output : true , cwd : APP_PATH}).on (' close' , safe next, step3 )
245245 step3 = ->
246246 console .log (' \n git push origin master:' )
247- spawn (GIT, [' push' , ' origin' , ' master' ], {output : true , cwd : APP_PATH}).on (' close' , safe next, step5 )
247+ spawn (GIT, [' push' , ' origin' , ' master' ], {output : true , cwd : APP_PATH}).on (' close' , safe next, step4 )
248248 step4 = ->
249249 console .log (' \n git push tags:' )
250- spawn (GIT, [' push' , ' origin' , ' --tags' ], {output : true , cwd : APP_PATH}).on (' close' , safe next, step6 )
251- step6 = next
250+ spawn (GIT, [' push' , ' origin' , ' --tags' ], {output : true , cwd : APP_PATH}).on (' close' , safe next, step5 )
251+ step5 = next
252252
253253 # Start
254254 step1 ()
0 commit comments