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 18:59:24 -0400
commit9186c6413e7cdfc33527ca69d2e56dfec6d8b760 (patch)
treefa3dc3f67e1ef6548669bd10a0ffa875fda8fe52 /release.template
parentd4a2145b63278706676158bc438c309887fb3edf (diff)
downloadgitblit-9186c6413e7cdfc33527ca69d2e56dfec6d8b760.tar.gz
gitblit-9186c6413e7cdfc33527ca69d2e56dfec6d8b760.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}