From a150e0779b7b86747a46f65a1ba234e6ff096eb0 Mon Sep 17 00:00:00 2001 From: Nathan Jones Date: Sat, 4 Apr 2015 21:31:47 +1300 Subject: [PATCH] fix plugin version ref in feature.xml --- editorconfig-eclipse-feature/feature.xml | 2 +- update-versions.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/editorconfig-eclipse-feature/feature.xml b/editorconfig-eclipse-feature/feature.xml index 9736651..17c8f5c 100644 --- a/editorconfig-eclipse-feature/feature.xml +++ b/editorconfig-eclipse-feature/feature.xml @@ -20,7 +20,7 @@ Visit http://editorconfig.org/ for more info. diff --git a/update-versions.sh b/update-versions.sh index 4e9d055..faddae4 100755 --- a/update-versions.sh +++ b/update-versions.sh @@ -3,4 +3,6 @@ if [ -z "$1" ]; then echo "usage: $0 " exit 1 fi -mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=$1 +new_version=$1 +mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=$new_version-SNAPSHOT +find -name 'feature.xml' | xargs sed -i -r "s/version=\"[0-9]+\.[0-9]+\.[0-9]+\"/version=\"$new_version\"/"