@qeepsake/react-native-marketing-version
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -13,5 +13,7 @@ #!/usr/bin/env node | ||
const appName = (0, _setPackageVersion.setPackageVersion)(versionText).name; | ||
console.log("-------------------------------------------------------"); | ||
await (0, _setAndroidMarketingVersion.setAndroidMarketingVersion)(versionText); | ||
console.log("-------------------------------------------------------"); | ||
await (0, _setAppleMarketingVersion.setAppleMarketingVersion)(versionText, appName); | ||
console.log("-------------------------------------------------------"); | ||
})(); |
@@ -24,3 +24,2 @@ "use strict"; | ||
console.log(_chalk.default.yellow(`Will set Android version name to ${_chalk.default.bold.underline(versionText)}`)); | ||
console.log("-------------------------------------------------------"); | ||
@@ -27,0 +26,0 @@ const buildGradle = _fs.default.readFileSync(buildGradlePath, "utf8"); |
{ | ||
"name": "@qeepsake/react-native-marketing-version", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Set the version in package.json, android/app/build.gradle and info.plist", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -10,7 +10,7 @@ #!/usr/bin/env node | ||
const appName = setPackageVersion(versionText).name; | ||
console.log("-------------------------------------------------------"); | ||
await setAndroidMarketingVersion(versionText); | ||
console.log("-------------------------------------------------------"); | ||
await setAppleMarketingVersion(versionText, appName); | ||
console.log("-------------------------------------------------------"); | ||
})(); |
@@ -19,3 +19,2 @@ import chalk from "chalk"; | ||
); | ||
console.log("-------------------------------------------------------"); | ||
@@ -22,0 +21,0 @@ const buildGradle = fs.readFileSync(buildGradlePath, "utf8"); |
13599
205