Browse Source

Handle Fragment-Host declaration when updating version

Change-Id: If7ad9c4b26025e4358e3b4228dda43fdf93d2978
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
(cherry picked from commit a51b440840)
tags/v5.8.1.202007141445-r
Matthias Sohn 3 years ago
parent
commit
4475a55f84
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tools/version.sh

+ 1
- 0
tools/version.sh View File

@@ -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 '

Loading…
Cancel
Save