mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make sure manifest.json contains AUTOUPDATE_VERSION (if specified) (#8480)
Fixes https://github.com/meteor/meteor/issues/8479
This commit is contained in:
committed by
Jesse Rosenberger
parent
3966d7027f
commit
393fe17f4b
@@ -500,8 +500,12 @@ var runWebAppServer = function () {
|
||||
var program = {
|
||||
format: "web-program-pre1",
|
||||
manifest: manifest,
|
||||
version: WebAppHashing.calculateClientHash(manifest, null, _.pick(
|
||||
__meteor_runtime_config__, 'PUBLIC_SETTINGS')),
|
||||
version: process.env.AUTOUPDATE_VERSION ||
|
||||
WebAppHashing.calculateClientHash(
|
||||
manifest,
|
||||
null,
|
||||
_.pick(__meteor_runtime_config__, "PUBLIC_SETTINGS")
|
||||
),
|
||||
cordovaCompatibilityVersions: clientJson.cordovaCompatibilityVersions,
|
||||
PUBLIC_SETTINGS: __meteor_runtime_config__.PUBLIC_SETTINGS
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user