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>
This commit is contained in:
parent
8fc2aef89e
commit
13f9aae49a
|
@ -156,6 +156,17 @@ perl -pi~ -e '
|
|||
}
|
||||
' org.eclipse.jgit.packaging/pom.xml
|
||||
|
||||
perl -pi~ -e '
|
||||
if ($ARGV ne $old_argv) {
|
||||
$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;
|
||||
|
|
Loading…
Reference in New Issue