Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cwbudde/cordova-svn-revision-build-number

Retrieve the build number from SVN revision
https://github.com/cwbudde/cordova-svn-revision-build-number

build-automation cordova cordova-hook svn

Last synced: 26 days ago
JSON representation

Retrieve the build number from SVN revision

Awesome Lists containing this project

README

        

# 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.
```bash
$ 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:
```xml

```

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](https://github.com/cnring18/cordova-build-increment) library.