You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2015/06/24 14:58:30 UTC
[24/50] [abbrv] wicket git commit: Moved release:cleanup to better
position
Moved release:cleanup to better position
It appears that the mvn release:cleanup removes the release.properties
file, thus breaking the script.
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/ce8fcf0a
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/ce8fcf0a
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/ce8fcf0a
Branch: refs/heads/master
Commit: ce8fcf0a7b8e7ef005a40216f4b2c8d3f4c617c9
Parents: 00c1e3b
Author: Martijn Dashorst <da...@apache.org>
Authored: Mon Jun 15 13:12:14 2015 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Jun 24 14:56:33 2015 +0300
----------------------------------------------------------------------
release-dashorst.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/ce8fcf0a/release-dashorst.sh
----------------------------------------------------------------------
diff --git a/release-dashorst.sh b/release-dashorst.sh
index b0c9354..1314dda 100755
--- a/release-dashorst.sh
+++ b/release-dashorst.sh
@@ -126,6 +126,9 @@ $(git status)
"
fi
+echo "Cleaning up any release artifacts that might linger"
+mvn -q release:clean
+
log=$(pwd)/release.out
if [ -f $log ] ; then
@@ -158,9 +161,6 @@ echo "Ensuring we are starting from wicket-$major_version.x"
# otherwise we can't remove a previous release branch that failed
git checkout $GIT_BRANCH
-echo "Cleaning up any release artifacts that might linger"
-mvn -q release:clean
-
echo "Removing previous release tag $tag (if exists)"
oldtag=`git tag -l |grep -e "$tag"|wc -l`
[ "$oldtag" -ne 0 ] && git tag -d $tag