cordova-svn-revision-build-number

0.1.1 • Public • Published

cordova-svn-revision-build-number

Retrieve the build number from SVN revision

Install

Install the following package below inside of your cordova app's root folder.

$ npm install cordova-svn-revision-build-number

A scripts/ folder will be created with the 'UpdateBuildNumber.js' file in it.

Then add the following to your app's config.xml file:

<hook src="scripts/UpdateBuildNumber.js" type="after_build"/>

Script is designed to set the android-versionCode, ios-CFBundleVersion, osx-CFBundleVersion and windows-packageVersion fields in the config.xml file to the revision number of the SVN repository.

References

This library was inspired and influenced by the cordova-build-increment library.

Package Sidebar

Install

npm i cordova-svn-revision-build-number

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • cwbudde