In some conditions I have to backport hotfixes to older versions.
So I have to create a branch from an older tag (git checkout -b release-4.1.9 v4.1.9) apply the fixes (e.g. cherry pick from master), push the version (e.g. with
|
function set_modules_version { |
) create a new git tag without merging the commit pack to master.
Following steps have to been executed manually:
git checkout -b release-4.1.9 v4.1.9
mvn versions:set -DnewVersion=4.1.9.1
# do stuff manually like git cherry-pick
git tag v4.1.9.1
git push --tags
In some conditions I have to backport hotfixes to older versions.
So I have to create a branch from an older tag (
git checkout -b release-4.1.9 v4.1.9) apply the fixes (e.g. cherry pick from master), push the version (e.g. withrelease-scripts/.hooks-default.sh
Line 71 in 285c9a5
) create a new
git tagwithout merging the commit pack to master.Following steps have to been executed manually: