This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const { execSync } = require('child_process'); | |
const fs = require('fs'); | |
const yaml = require('js-yaml'); | |
const { appBuilderPath } = require('app-builder-bin'); | |
const currentWorkingDirectory = process.cwd(); | |
const packageInfo = require(path.join(currentWorkingDirectory, 'package.json')); | |
const APP_NAME = packageInfo.build.productName; | |
const APP_VERSION = process.argv[2] ? process.argv[2] : packageInfo.version; |