Skip to content

Commit

Permalink
fix plugin version ref in feature.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ncjones committed Apr 4, 2015
1 parent 59e0d07 commit a150e07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editorconfig-eclipse-feature/feature.xml
Expand Up @@ -20,7 +20,7 @@ Visit http://editorconfig.org/ for more info.
</license> </license>


<plugin id="editorconfig-eclipse" <plugin id="editorconfig-eclipse"
version="0.1.0" version="0.2.0"
unpack="false"/> unpack="false"/>


</feature> </feature>
Expand Down
4 changes: 3 additions & 1 deletion update-versions.sh
Expand Up @@ -3,4 +3,6 @@ if [ -z "$1" ]; then
echo "usage: $0 <new version>" echo "usage: $0 <new version>"
exit 1 exit 1
fi 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.