]> source.dussan.org Git - jgit.git/commitdiff
Handle Fragment-Host declaration when updating version 16/164516/1
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 9 Jun 2020 10:47:57 +0000 (12:47 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 9 Jun 2020 10:50:18 +0000 (12:50 +0200)
Change-Id: Ic1b17245f221496818a975bc4f07b74878d257a5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tools/version.sh

index 80693cdbdb0ab610ebbe368b68625aec6eaf0d38..75f1a6a0d93fd08d261618256ca6837db0382b4d 100755 (executable)
@@ -113,6 +113,7 @@ perl -pi~ -e '
        s/^(Bundle-Version:\s*).*$/${1}'"$OSGI_V"'/;
        s/(org.eclipse.jgit.*;version=")[^"[(]*(")/${1}'"$API_V"'${2}/;
        s/(org.eclipse.jgit.*;version="\[)[^"]*(\)")/${1}'"$API_V,$API_N"'${2}/;
+       s/(Fragment-Host: org.eclipse.jgit.*;bundle-version="\[)[^"]*(\)")/${1}'"$API_V,$API_N"'${2}/;
        ' $(git ls-files | grep META-INF/MANIFEST.MF)
 
 perl -pi~ -e '