What it does:
If you have a main branch and development branch:
- merges development branch into main
- If
.release.sh/hooks
contains files ending in.sh
, executes them in the main branch - sets release version on main branch
- pushes and tags main branch
- merges main back into develop branch
- sets new version on develop branch and pushes development branch
If you only have a master branch:
- If
.release.sh/hooks
contains files ending in.sh
, executes them in the main branch - sets release version on main branch
- pushes and tags main branch
- sets new version on main branch and pushes main branch
Following branch names qualify as main branches:
- trunk
- master
- main
Following branch names qualify as development branches:
- dev
- develop
- development
It checks the repository for branch names in the order listed above. First match wins, if you happen to have multiple main and/or development branches.
Supports NPM and Maven projects.