Skip to content

Instantly share code, notes, and snippets.

Patrick Fowler pdfowler

  • San Francisco, CA
View GitHub Profile
@pdfowler
pdfowler / increment_build_number.js
Last active Aug 29, 2015 — forked from ohh2ahh/increment_build_number.js
Cordova hook for incrementing build numbers
View increment_build_number.js
#!/usr/bin/env node
// Save hook under `project-root/hooks/before_prepare/`
//
// Don't forget to install xml2js using npm
// `$ npm install xml2js`
var fs = require('fs');
var xml2js = require('xml2js');
You can’t perform that action at this time.