You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2018/08/19 12:44:10 UTC
[23/50] logging-log4cxx git commit: Removed a mvn warning.
Removed a mvn warning.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/6eb51c78
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/6eb51c78
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/6eb51c78
Branch: refs/heads/master
Commit: 6eb51c78f0836cc9cb74bfff6d23cf2b79e8b7f2
Parents: 0fea0dc
Author: Thorsten Schöning <ts...@am-soft.de>
Authored: Thu Aug 17 17:08:44 2017 +0200
Committer: Thorsten Schöning <ts...@am-soft.de>
Committed: Thu Aug 17 17:08:44 2017 +0200
----------------------------------------------------------------------
releasePrepare.sh | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/6eb51c78/releasePrepare.sh
----------------------------------------------------------------------
diff --git a/releasePrepare.sh b/releasePrepare.sh
index 388339b..9c844db 100755
--- a/releasePrepare.sh
+++ b/releasePrepare.sh
@@ -166,9 +166,9 @@ function get_mvn_prepare_args()
{
local new_dev_ver=$(get_mvn_prepare_new_dev_ver)
local prepare_args="-Dresume=false"
-
+
# Avoid a warning about not being able to parse an empty version:
- if [ -n "${new_dev_ver}"]
+ if [ -n "${new_dev_ver}" ]
then
prepare_args="${prepare_args} -DdevelopmentVersion=${new_dev_ver}"
fi
@@ -181,8 +181,6 @@ function exec_mvn()
mvn clean || exit 1
mvn release:prepare $(get_mvn_prepare_args) || exit 1
revert_mvn_prepare_new_dev_ver_if "${new_dev_ver}"
-
- exit 1
}
function exit_on_started_with_ns()