These scripts are made to handle code versioning and changelog.md updating.
Note: You need a Personal Access Token (PAT) to use these scripts. Duplicate github_pat.sh.example, insert your PAT and rename it to github_pat.sh
On develop
branch:
./shell_versioning/major-release-create.sh
The script suggests the number accordind to current version number. If needed you can change it, otherwise you can proceed.
The script generate a new branch for the major release.
Edit files and push commits to origin.
On release
branch:
./shell_versioning/major-release-finish.sh
Follow the requests.
At the end, a new version will be created on master
branch with right tag and develop
branch will be updated.
On develop
branch:
./shell_versioning/minor-release-create.sh
The script suggests the number accordind to current version number. If needed you can change it, otherwise you can proceed.
The script generate a new branch for the major release.
Edit files and push commits to origin.
On release
branch:
./shell_versioning/minor-release-finish.sh
Follow the requests.
At the end, a new version will be created on master
branch with right tag and develop
branch will be updated.
On master
branch:
./shell_versioning/hotfix-create.sh
The script suggests the number accordind to current version number. If needed you can change it, otherwise you can proceed.
The script generate a new branch for the major release.
Edit files and push commits to origin.
On hotfix
branch:
./shell_versioning/hotfix-finish.sh
Follow the requests.
At the end, a new version will be created on master
branch with right tag and develop
branch will be updated.