You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2016/09/29 22:01:48 UTC
[1/2] isis git commit: ISIS-1465: improving interim-release.sh,
build before tagging
Repository: isis
Updated Branches:
refs/heads/master 808d1a29b -> 6e4478010
ISIS-1465: improving interim-release.sh, build before tagging
Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/3155055a
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/3155055a
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/3155055a
Branch: refs/heads/master
Commit: 3155055ae9fb6a41a460347a95a20a6e1fc46224
Parents: 808d1a2
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Thu Sep 29 11:58:01 2016 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Thu Sep 29 22:50:21 2016 +0100
----------------------------------------------------------------------
interim-release.sh | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis/blob/3155055a/interim-release.sh
----------------------------------------------------------------------
diff --git a/interim-release.sh b/interim-release.sh
index 337d7e7..097b8bd 100644
--- a/interim-release.sh
+++ b/interim-release.sh
@@ -27,6 +27,9 @@ popd >/dev/null
echo "Committing changes"
git commit -am "bumping to $VERSION"
+echo "Building"
+mvn clean install -o
+
echo "tagging"
git tag $TAG
[2/2] isis git commit: ISIS-1465: interim-release.sh needs to push
the remote branch, so can be picked up by CI
Posted by da...@apache.org.
ISIS-1465: interim-release.sh needs to push the remote branch, so can be picked up by CI
Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/6e447801
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/6e447801
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/6e447801
Branch: refs/heads/master
Commit: 6e4478010d9c824faba4afe1a52a7c06b9365a11
Parents: 3155055
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Thu Sep 29 22:47:17 2016 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Thu Sep 29 22:50:29 2016 +0100
----------------------------------------------------------------------
interim-release.sh | 10 ++++++++++
1 file changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis/blob/6e447801/interim-release.sh
----------------------------------------------------------------------
diff --git a/interim-release.sh b/interim-release.sh
index 097b8bd..fd9afc2 100644
--- a/interim-release.sh
+++ b/interim-release.sh
@@ -36,6 +36,16 @@ git tag $TAG
echo "pushing tag"
git push $REMOTE $TAG
+echo "removing any earlier remote branches"
+for a in `git ls-remote --heads $REMOTE | sed 's?.*refs/heads/??' | grep interim`
+do
+ git push $REMOTE --delete $a
+done
+
+# need to push branch, so will be picked up for building by CI
+echo "pushing branch"
+git push $REMOTE $BRANCH
+
echo "switching back to original branch"
git checkout $CURR_BRANCH