Skip to content

Instantly share code, notes, and snippets.

@wende
Created October 22, 2014 07:12
Show Gist options
  • Save wende/9e52201d98122b783614 to your computer and use it in GitHub Desktop.
Save wende/9e52201d98122b783614 to your computer and use it in GitHub Desktop.
commit = (cb) -> exec "git commit -am 'auto-v#{pkg.version}'", cb
upgrade = (cb) -> exec "npm version patch", cb
build = (cb) -> exec "cordova build", cb
copy = (cb) -> exec "cp ./platforms/android/ant-build/LDWorkorder-debug.apk ./#{dir}/#{pkg.name}-#{pkg.version}.apk", cb
commit -> upgrade -> build -> copy -> done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment