summaryrefslogtreecommitdiffstats
path: root/release.template
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-06-16 18:59:24 -0400
committerJames Moger <james.moger@gitblit.com>2014-06-16 19:03:46 -0400
commit35bb2253c9ff0dcc44f3245026a141fde6415153 (patch)
treeb4d9bc5691e6b30256ce3decb8aff5d3bd2c236b /release.template
parent321a7d8a32567c88af3ae871b705cf78c637d5b4 (diff)
downloadgitblit-35bb2253c9ff0dcc44f3245026a141fde6415153.tar.gz
gitblit-35bb2253c9ff0dcc44f3245026a141fde6415153.zip
Merge non-fast-forward for release branch merges
Diffstat (limited to 'release.template')
-rw-r--r--release.template6
1 files changed, 3 insertions, 3 deletions
diff --git a/release.template b/release.template
index a539c637..0fd61c56 100644
--- a/release.template
+++ b/release.template
@@ -64,7 +64,7 @@ echo "Merging release ${project.version} to master"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo ""
git checkout master
-git merge -m "Merge release ${project.version}" ${project.commitId}
+git merge --no-ff -m "Merge release ${project.version}" ${project.commitId}
ant nextPointReleaseCycle
# merge to develop
@@ -74,7 +74,7 @@ echo "Merging release ${project.version} to develop"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo ""
git checkout develop
-git merge -m "Merge release ${project.version}" ${project.commitId}
+git merge --no-ff -m "Merge release ${project.version}" ${project.commitId}
ant nextMinorReleaseCycle
# push Maven repository to origin
@@ -93,4 +93,4 @@ echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "Pushing master, develop, gh-pages, and tag ${project.tag}"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo ""
-git push origin master develop gh-pages tag ${project.tag}
+git push origin master develop gh-pages ${project.tag}