pick right tag

pull/4382/head
aniket-engg 11 months ago committed by Aniket
parent 60f05b1840
commit e4dd190d50
  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