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 2017/08/17 14:27:10 UTC
[02/17] logging-log4cxx git commit: Wrongly changed all version-nodes
in pom.xml.
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 <ts...@am-soft.de>
Authored: Thu Aug 17 10:34:49 2017 +0200
Committer: Thorsten Schöning <ts...@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"