Permalink
Browse files

fix plugin version ref in feature.xml

  • Loading branch information...
1 parent 59e0d07 commit a150e0779b7b86747a46f65a1ba234e6ff096eb0 @ncjones committed Apr 4, 2015
Showing with 4 additions and 2 deletions.
  1. +1 −1 editorconfig-eclipse-feature/feature.xml
  2. +3 −1 update-versions.sh
@@ -20,7 +20,7 @@ Visit http://editorconfig.org/ for more info.
</license>
<plugin id="editorconfig-eclipse"
- version="0.1.0"
+ version="0.2.0"
unpack="false"/>
</feature>
View
@@ -3,4 +3,6 @@ if [ -z "$1" ]; then
echo "usage: $0 <new version>"
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\"/"

0 comments on commit a150e07

Please sign in to comment.