]> source.dussan.org Git - jgit.git/commitdiff
Fix version.sh to update version of imported jgit features 67/94467/1
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 5 Apr 2017 12:48:00 +0000 (14:48 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 5 Apr 2017 12:48:00 +0000 (14:48 +0200)
Change-Id: I9f29e84b4d357ac8910b8dc534ea91dc9be96079
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tools/version.sh

index 81ffe06b2583fd22520d6df1962bcd424612e368..e5c98ecdc292176499735c961e48dd08fe6d0d2a 100755 (executable)
@@ -131,6 +131,7 @@ perl -pi~ -e '
                $seen_version = 1 if (!/<\?xml/ &&
                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
 
 perl -pi~ -e '