Skip to content

Assiclick/shell_versioning

Repository files navigation

Assiclick Shell Versioning Scripts

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

Scripts

Major Release

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.

Minor Release

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.

Hotfix

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.

Releases

No releases published

Packages

No packages published

Languages