Skip to content

Creating a branch

hawky-4s- edited this page Nov 6, 2017 · 2 revisions

Creating a branch from a tag

This should be done, if a new minor version was released and we need to provide patches for it.

git clone https://github.com/camunda/camunda-bpm-spring-boot-starter
git pull
git checkout -b <branch> <tag>

Update the version to next patch version of the branch, eg. 2.3.0-SNAPSHOT -> 2.3.1-SNAPSHOT

grep 2.3.0-SNAPSHOT -Hirnl . | xargs -I{} sed -i 's/2\.3\.0-SNAPSHOT/2\.3\.1-SNAPSHOT/g' {}

Push the branch to GitHub

git push --set-upstream origin <branch>

After the branch has been pushed, a new CI/Release job for it is created automatically.

Clone this wiki locally