pick right tag

pull/5370/head
aniket-engg 11 months ago committed by Aniket
parent 85fccfdad7
commit e2218116ae
  1. 11
      gulpfile.js

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

Loading…
Cancel
Save