aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2020-06-09 12:47:57 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2020-06-09 16:45:19 +0200
commit4475a55f84402897ccc7654980b23b3e1164d9fb (patch)
treec19dc8432feb287f0f176a7f102340a294bc3a02 /tools
parent8e79d5a290843b929f073a536a0d678fc74382ca (diff)
downloadjgit-4475a55f84402897ccc7654980b23b3e1164d9fb.tar.gz
jgit-4475a55f84402897ccc7654980b23b3e1164d9fb.zip
Handle Fragment-Host declaration when updating version
Change-Id: If7ad9c4b26025e4358e3b4228dda43fdf93d2978 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> (cherry picked from commit a51b440840aa5f2cd20ae4c2edf6cdade18179df)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/version.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/version.sh b/tools/version.sh
index 80693cdbdb..75f1a6a0d9 100755
--- a/tools/version.sh
+++ b/tools/version.sh
@@ -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 '