publish tag from beta

pull/5370/head
aniket-engg 1 year ago committed by Aniket
parent c6c4aaf897
commit b0627b79d5
  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
*/
task('publishTag', async function () {
const tag = "v" + packageJSON.version
await promisifyExec(`git tag ${tag}; git push origin ${tag}`);
task('publishTagfromBeta', async function () {
let cmdOp = await promisifyExec(`git checkout remix_beta`)
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