diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2019-01-17 02:55:11 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2019-01-17 03:10:09 +0100 |
commit | 13f9aae49ad7597f8063d949aec2a9737b7340c9 (patch) | |
tree | 46aeb170f125a781028353262564b108195979e5 /tools | |
parent | 8fc2aef89e927f628f5c367b39a13afbcb2e5e47 (diff) | |
download | jgit-13f9aae49ad7597f8063d949aec2a9737b7340c9.tar.gz jgit-13f9aae49ad7597f8063d949aec2a9737b7340c9.zip |
Fix tools/version.sh
The script missed to update all but the first version in
org.eclipse.jgit.coverage/pom.xml
Change-Id: If8021accf07d7b57b477992cc0f1ba8ddc7db9a6
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/version.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/version.sh b/tools/version.sh index e5c98ecdc2..8b8095db42 100755 --- a/tools/version.sh +++ b/tools/version.sh @@ -161,6 +161,17 @@ perl -pi~ -e ' $seen_version = 0; $old_argv = $ARGV; } + if ($seen_version < 18) { + $seen_version++ if + s{<(version)>.*</\1>}{<${1}>'"$POM_V"'</${1}>}; + } + ' org.eclipse.jgit.coverage/pom.xml + +perl -pi~ -e ' + if ($ARGV ne $old_argv) { + $seen_version = 0; + $old_argv = $ARGV; + } if (!$seen_version) { $seen_version = 1 if s{<(version)>.*</\1>}{<${1}>'"$POM_V"'</${1}>}; |