publish tag script

pull/4382/head
aniket-engg 10 months ago committed by Aniket
parent 44dec69f79
commit 1897ed5791
  1. 1
      gulpfile.js
  2. 9
      release-process.md

@ -19,7 +19,6 @@ task('publishTagfromBeta', async function () {
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 = fs.readFileSync(__dirname + '/package.json', 'utf8') const betaPackageJSON = fs.readFileSync(__dirname + '/package.json', 'utf8')
console.log('betaPackageJSON---->', betaPackageJSON)
const tag = "v" + JSON.parse(betaPackageJSON).version const tag = "v" + JSON.parse(betaPackageJSON).version
console.log(`Creating tag ${tag} from remix_beta branch`) console.log(`Creating tag ${tag} from remix_beta branch`)
cmdOp = await promisifyExec(`git tag ${tag}`) cmdOp = await promisifyExec(`git tag ${tag}`)

@ -80,11 +80,18 @@ or individually:
#### Create git tag from beta branch: #### Create git tag from beta branch:
Use this unified command:
- `yarn run publishTagfromBeta`
or individually:
- `git checkout remix_beta` - `git checkout remix_beta`
- `git pull origin remix_beta` - `git pull origin remix_beta`
- Create tag: `git tag v<version-number>`, `<version-number>` should be same as in package.json of `remix_beta` branch - Create tag: `git tag v<version-number>`, `<version-number>` should be same as in package.json of `remix_beta` branch
- Push tag: `git push --tags` - Push tag: `git push --tags`
- Publish a new release on GitHub and generate automated changelog by selecting the appropriate tag
Publish a new release on GitHub using created tag and generate automated changelog by selecting the appropriate previous tag
### Part 2. Update the Remix Live ### Part 2. Update the Remix Live

Loading…
Cancel
Save