Skip to content

Commit

Permalink
versioning 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianovide committed Jan 10, 2019
1 parent 7594804 commit 7593a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cordova-app/scripts/changeVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = function(ctx) {
var configXml = configXmlHelper.readConfigXML();
var widget = configXml.getElementsByTagName("widget")[0];

var version = require("../../package.json").version;
var version = process.env.REACT_APP_VERSION || "0";

var androidVersionCode = widget.getAttribute("android-versionCode");
var iosCFBundleVersion = widget.getAttribute("ios-CFBundleVersion");
Expand Down

0 comments on commit 7593a62

Please sign in to comment.