Skip to content

Commit

Permalink
Remove default build number generation
Browse files Browse the repository at this point in the history
See #4048.
  • Loading branch information
martijnwalraven committed Aug 25, 2015
1 parent 1f8c76d commit 3baf1b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions History.md
Expand Up @@ -207,9 +207,9 @@ message for more details.

* Allow adding local Cordova plugins with `file://` URIs. #4229

* Automatically set default values for `'android-versionCode'` and
`'ios-CFBundleVersion'` options of Cordova project. (The feature is helpful to
use with tooling such as TestFlight.) #4048
* Allow specifying a `buildNumber` in `App.info`, which is used to set the
`android-versionCode` and `ios-CFBundleVersion` in the `config.xml` of the
Cordova project. #4048

### Other bug fixes and improvements

Expand Down
3 changes: 1 addition & 2 deletions tools/cordova/builder.js
Expand Up @@ -88,11 +88,10 @@ export class CordovaBuilder {
}

initalizeDefaults() {
const defaultBuildNumber = (Date.now() % 1000000).toString();
this.metadata = {
id: 'com.id' + this.projectContext.appIdentifier,
version: '0.0.1',
buildNumber: defaultBuildNumber,
buildNumber: undefined,
name: this.cordovaProject.appName,
description: 'New Meteor Mobile App',
author: 'A Meteor Developer',
Expand Down

0 comments on commit 3baf1b4

Please sign in to comment.