In the feature branch,
git checkout feature-branch-name
git pull --rebase # to update the local feature branch with remote branch
npm run release
The release command will update the Package.json, package-lock.json & ChangeLog.md files. Then we should push the changes to that base-branch
git push origin <tag_name>
Checkout to the branch that is pointed in the pipeline for releases:
git checkout develop
git pull --rebase
Then we need to pull that base branch we pushed just before
git pull origin feature-branch-name
Then carefully check that the Git graph is aligned on a straight line.
Afterward, push the code
git push
When we check the opened PR of the feature branch to develop will be merged automatically.
Now we need to add the release notes.
To add a release note, we should click the tags
Then click on the latest released tag and click Create Release
Then go to ChangeLog.md in the source code and check for all the changes for that particular release tag
Copy and paste it into the description of the release tote and Save
.
Leave a Reply