Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cwbudde/cordova-svn-revision-build-number
- Owner: CWBudde
- License: mit
- Created: 2017-11-16T23:54:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-17T00:34:01.000Z (about 7 years ago)
- Last Synced: 2024-11-13T09:21:47.537Z (about 2 months ago)
- Topics: build-automation, cordova, cordova-hook, svn
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.