|
|
@ -18,14 +18,13 @@ task('publishTagfromBeta', async function () { |
|
|
|
console.log(cmdOp.stdout) |
|
|
|
console.log(cmdOp.stdout) |
|
|
|
cmdOp = await promisifyExec(`git pull origin remix_beta`) |
|
|
|
cmdOp = await promisifyExec(`git pull origin remix_beta`) |
|
|
|
console.log(cmdOp.stdout) |
|
|
|
console.log(cmdOp.stdout) |
|
|
|
const betaPackageJSON = require('./package.json'); |
|
|
|
const betaPackageJSON = fs.readFileSync(__dirname + '/package.json', 'utf8') |
|
|
|
const tag = "v" + betaPackageJSON.version |
|
|
|
const tag = "v" + betaPackageJSON.version |
|
|
|
console.log(`Creating tag ${tag} from remix_beta branch`) |
|
|
|
console.log(`Creating tag ${tag} from remix_beta branch`) |
|
|
|
console.log(fs.readFileSync(__dirname + '/package.json', 'utf8')) |
|
|
|
cmdOp = await promisifyExec(`git tag ${tag}`) |
|
|
|
// cmdOp = await promisifyExec(`git tag ${tag}`);
|
|
|
|
console.log(cmdOp.stdout) |
|
|
|
// console.log(cmdOp.stdout)
|
|
|
|
cmdOp = await promisifyExec(`git push --tags`) |
|
|
|
// cmdOp = await promisifyExec(`git push --tags`);
|
|
|
|
console.log(cmdOp.stdout) |
|
|
|
// console.log(cmdOp.stdout)
|
|
|
|
|
|
|
|
}catch(error) { |
|
|
|
}catch(error) { |
|
|
|
console.error(error) |
|
|
|
console.error(error) |
|
|
|
} |
|
|
|
} |
|
|
|