Browse Source

Fix version.sh to update version of imported jgit features

Change-Id: I9f29e84b4d357ac8910b8dc534ea91dc9be96079
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-4.8
Matthias Sohn 8 years ago
parent
commit
4cfaef4c20
  1. 1
      tools/version.sh

1
tools/version.sh

@ -131,6 +131,7 @@ perl -pi~ -e '
$seen_version = 1 if (!/<\?xml/ && $seen_version = 1 if (!/<\?xml/ &&
s/(version=")[^"]*(")/${1}'"$OSGI_V"'${2}/); s/(version=")[^"]*(")/${1}'"$OSGI_V"'${2}/);
} }
s/(import feature="org\.eclipse\.jgit.*" version=")[^"]*(")/${1}'"$API_V"'${2}/;
' org.eclipse.jgit.packaging/org.*.feature/feature.xml ' org.eclipse.jgit.packaging/org.*.feature/feature.xml
perl -pi~ -e ' perl -pi~ -e '

Loading…
Cancel
Save