Browse Source

Fix version.sh to update Eclipse-SourceBundle version

The version attribute of Eclipse-SourceBundle must match
the bundle version.

Change-Id: Ic629ccae1d89c9070e4ec80420a0e2ed7d403922
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v3.3.2.201404171909-r
Matthias Sohn 10 years ago
parent
commit
792d27ece1
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tools/version.sh

+ 1
- 0
tools/version.sh View File

@@ -119,6 +119,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/^(Eclipse-SourceBundle:\s*org.eclipse.jgit.*;version=\").*(\";roots=\"\.\")$/${1}'"$OSGI_V"'${2}/;
' $(git ls-files | grep META-INF/SOURCE-MANIFEST.MF)

perl -pi~ -e '

Loading…
Cancel
Save