Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMatthias Sohn2015-01-27 22:01:53 +0000
committerMatthias Sohn2015-01-27 22:03:28 +0000
commit832eee7d1c587b6b0292267817bda7bcffbd6563 (patch)
tree8bb89524647aea096fc89d04e556bd4ffaa078b9 /tools
parenta976d626b1aa43b12275b523844315ee647b25fb (diff)
downloadegit-github-832eee7d1c587b6b0292267817bda7bcffbd6563.tar.gz
egit-github-832eee7d1c587b6b0292267817bda7bcffbd6563.tar.xz
egit-github-832eee7d1c587b6b0292267817bda7bcffbd6563.zip
Fix version.sh
Change-Id: I3e69843f99a75b55a03421e592338acdd6970d6c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/version.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/version.sh b/tools/version.sh
index f679df37..c86354fa 100755
--- a/tools/version.sh
+++ b/tools/version.sh
@@ -95,6 +95,8 @@ GITHUB_N=$(next_version "$GITHUB_V")
perl -pi~ -e '
s/^(Bundle-Version:\s*).*$/${1}'"$OSGI_V"'/;
+ s/(org.eclipse.egit.github.*;version=")[^"[(]*(")/${1}'"$GITHUB_V"'${2}/;
+ s/(org.eclipse.egit.github.*;version="\[)[^"]*(\)")/${1}'"$GITHUB_V,$GITHUB_N"'${2}/;
s/(org.eclipse.mylyn.internal.github.*;version=")[^"[(]*(")/${1}'"$GITHUB_V"'${2}/;
s/(org.eclipse.mylyn.internal.github.*;version="\[)[^"]*(\)")/${1}'"$GITHUB_V,$GITHUB_N"'${2}/;
' $(git ls-files | egrep "META-INF/MANIFEST.MF|META-INF/SOURCE-MANIFEST.MF")
@@ -108,6 +110,7 @@ perl -pi~ -e '
$seen_version = 1 if (!/<\?xml/ &&
s/(version=")[^"]*(")/${1}'"$OSGI_V"'${2}/);
}
+ s/(feature="org.eclipse.egit.github.core" version=")[^"]*(")/${1}'"$GITHUB_V"'${2}/;
s/(feature="org.eclipse.mylyn.github.core" version=")[^"]*(")/${1}'"$GITHUB_V"'${2}/;
s/(feature="org.eclipse.mylyn.github.ui" version=")[^"]*(")/${1}'"$GITHUB_V"'${2}/;
' org.eclipse.mylyn.github-feature/feature.xml

Back to the top