diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2014-04-18 01:11:49 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-04-18 01:40:47 +0200 |
commit | 792d27ece1c997d7364dded2dc8c2d2e45e4dc5b (patch) | |
tree | 56369fe2ae8093b0198383606cebffd0cd9799c2 /tools | |
parent | a53a18e988714cd87934d1a7e29b3331b37542a8 (diff) | |
download | jgit-792d27ece1c997d7364dded2dc8c2d2e45e4dc5b.tar.gz jgit-792d27ece1c997d7364dded2dc8c2d2e45e4dc5b.zip |
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>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/version.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/version.sh b/tools/version.sh index 52a02c59f7..a2f81290d6 100755 --- a/tools/version.sh +++ b/tools/version.sh @@ -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 ' |