Skip to content

Commit ef67b44

Browse files
committed
Fixed Cakefile
1 parent 515c6ec commit ef67b44

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

Cakefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,17 +238,17 @@ actions =
238238
#actions.prepublish(opts, safe next, step2)
239239
step1 = ->
240240
console.log('\nnpm 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('\ngit 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('\ngit 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('\ngit 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()

HISTORY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
## History
22

3-
v2.0.0 February 24, 2017
4-
- First stable version.
3+
v2.0.0 February 27, 2017
4+
- First version (experimental, not stable).

0 commit comments

Comments
 (0)