publish tag from beta

pull/4382/head
aniket-engg 11 months ago committed by Aniket
parent 37c6b26aaa
commit 93c7e82fae
  1. 12
      gulpfile.js

@ -12,9 +12,15 @@ var packageJSON = require('./package.json');
/** /**
* @dev Task to create git tag using version from package.json and pushing this specific tag * @dev Task to create git tag using version from package.json and pushing this specific tag
*/ */
task('publishTag', async function () { task('publishTagfromBeta', async function () {
const tag = "v" + packageJSON.version let cmdOp = await promisifyExec(`git checkout remix_beta`)
await promisifyExec(`git tag ${tag}; git push origin ${tag}`); console.log(cmdOp.stdout)
cmdOp = await promisifyExec(`git pull origin remix_beta`)
console.log(cmdOp.stdout)
const betaPackageJSON = require('./package.json');
const tag = "v" + betaPackageJSON.version
cmdOp = await promisifyExec(`git tag ${tag}; git push --tags`);
console.log(cmdOp.stdout)
}); });
/** /**

Loading…
Cancel
Save