Browse Source

Handle Fragment-Host declaration when updating version

Change-Id: Ic1b17245f221496818a975bc4f07b74878d257a5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
master
Matthias Sohn 5 years ago
parent
commit
a51b440840
  1. 1
      tools/version.sh

1
tools/version.sh

@ -113,6 +113,7 @@ perl -pi~ -e '
s/^(Bundle-Version:\s*).*$/${1}'"$OSGI_V"'/; s/^(Bundle-Version:\s*).*$/${1}'"$OSGI_V"'/;
s/(org.eclipse.jgit.*;version=")[^"[(]*(")/${1}'"$API_V"'${2}/; s/(org.eclipse.jgit.*;version=")[^"[(]*(")/${1}'"$API_V"'${2}/;
s/(org.eclipse.jgit.*;version="\[)[^"]*(\)")/${1}'"$API_V,$API_N"'${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) ' $(git ls-files | grep META-INF/MANIFEST.MF)
perl -pi~ -e ' perl -pi~ -e '

Loading…
Cancel
Save