Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
af-coffee.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3a8d93b
)
app_info can be before or after app_update_files
author
Jason Woofenden
<jason@jasonwoof.com>
Wed, 13 Feb 2013 17:38:30 +0000
(12:38 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Wed, 13 Feb 2013 17:38:30 +0000
(12:38 -0500)
client.coffee
patch
|
blob
|
history
diff --git
a/client.coffee
b/client.coffee
index
b395605
..
74d7a5c
100755
(executable)
--- a/
client.coffee
+++ b/
client.coffee
@@
-54,11
+54,9
@@
commands.app_publish_seamless = (token, app_name, zip_file, callback) ->
new_app = app_name
async.auto {
new_app = app_name
async.auto {
- push: (cb) => @api 'app_update_files', new_app, zip_file, cb
- # TODO find out if app_update_files increments app_info.version
- # if not, drop new_info's dependency on push
old_info: (cb) => @api 'app_info', old_app, cb
old_info: (cb) => @api 'app_info', old_app, cb
- new_info: ['push', (cb) => @api 'app_info', new_app, cb ]
+ new_info: (cb) => @api 'app_info', new_app, cb
+ push: (cb) => @api 'app_update_files', new_app, zip_file, cb
copy_uris: ['push', 'old_info', 'new_info', (cb, args) =>
# There's a bug in the server where you can't set new uris and
# start the app in the same app_set_info call
copy_uris: ['push', 'old_info', 'new_info', (cb, args) =>
# There's a bug in the server where you can't set new uris and
# start the app in the same app_set_info call