Wrong variable...
Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/00e2da8c Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/00e2da8c Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/00e2da8c Branch: refs/heads/release_scripts Commit: 00e2da8c03d3abf68358bea04bd932f04b1df295 Parents: cb1f408 Author: Thorsten Schöning <[email protected]> Authored: Thu Aug 17 17:58:47 2017 +0200 Committer: Thorsten Schöning <[email protected]> Committed: Thu Aug 17 18:00:37 2017 +0200 ---------------------------------------------------------------------- releasePrepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/00e2da8c/releasePrepare.sh ---------------------------------------------------------------------- diff --git a/releasePrepare.sh b/releasePrepare.sh index 57625f6..0bbafe6 100755 --- a/releasePrepare.sh +++ b/releasePrepare.sh @@ -160,7 +160,7 @@ function revert_mvn_prepare_new_dev_ver() local new_dev_ver="${2}" local pom_new_ver="${new_dev_ver:-${pom_orig_ver}}" - sed -i -r "s/^(\t<version>).+(<)/\1${new_dev_ver}\2/" "pom.xml" + sed -i -r "s/^(\t<version>).+(<)/\1${pom_new_ver}\2/" "pom.xml" } function exec_mvn()
