From a51b440840aa5f2cd20ae4c2edf6cdade18179df Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Tue, 9 Jun 2020 12:47:57 +0200 Subject: [PATCH] Handle Fragment-Host declaration when updating version Change-Id: Ic1b17245f221496818a975bc4f07b74878d257a5 Signed-off-by: Matthias Sohn --- tools/version.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/version.sh b/tools/version.sh index 80693cdbd..75f1a6a0d 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 '