Skip to content

Instantly share code, notes, and snippets.

@MikelArnaiz
MikelArnaiz / 010_increment_build_numbers.js
Last active June 26, 2017 12:09
Cordova hook for incrementing build numbers. Increases only the platform you build
#!/usr/bin/env node
// Fork of:
// https://gist.github.com/ohh2ahh/f35ff6e0d9f8b4268cdb
// Save hook under `project-root/hooks/before_build/`
//
// Don't forget to install xml2js using npm
// `$ npm install xml2js`