Wrongly changed all version-nodes in pom.xml.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/39a30b86 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/39a30b86 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/39a30b86 Branch: refs/heads/release_scripts Commit: 39a30b8621dede4126d1ea4a94a5fc6305289d61 Parents: 928ea24 Author: Thorsten Schöning <tschoen...@am-soft.de> Authored: Thu Aug 17 10:34:49 2017 +0200 Committer: Thorsten Schöning <tschoen...@am-soft.de> Committed: Thu Aug 17 10:34:49 2017 +0200 ---------------------------------------------------------------------- releasePrepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/39a30b86/releasePrepare.sh ---------------------------------------------------------------------- diff --git a/releasePrepare.sh b/releasePrepare.sh index 0a7bd26..ec84353 100755 --- a/releasePrepare.sh +++ b/releasePrepare.sh @@ -161,7 +161,7 @@ END local new_release="${new_release/VER_NEEDED/${new_dev_ver_short}}" sed -i -r "s/AC_INIT\(\[log4cxx\], \[.+?\]\)/AC_INIT([log4cxx], [${new_dev_ver_short}])/" "configure.ac" - sed -i -r "s/(<version>).+(<)/\1${new_dev_ver}\2/" "pom.xml" + sed -i -r "s/^\t(<version>).+(<)/\1${new_dev_ver}\2/" "pom.xml" sed -i -r "s/<body>/${new_release}/" "src/changes/changes.xml" git add "configure.ac"