From 792d27ece1c997d7364dded2dc8c2d2e45e4dc5b Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Fri, 18 Apr 2014 01:11:49 +0200 Subject: 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 --- tools/version.sh | 1 + 1 file changed, 1 insertion(+) 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 ' -- cgit v1.2.3