Remove default build number generation

See https://github.com/meteor/meteor/pull/4048.
This commit is contained in:
Martijn Walraven
2015-08-17 10:48:59 +02:00
parent 87b11bdab5
commit e66bbd3c19
2 changed files with 4 additions and 5 deletions

View File

@@ -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

View File

@@ -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',