3D-e-Chem / tycho-knime-node-archetype

Maven archetype for Knime node extension
Apache License 2.0
5 stars 2 forks source link

Easy way to update the version number #24

Closed KFDing closed 1 year ago

KFDing commented 5 years ago

Hi Stefan,

when I want to update the version for feature and p2, I have to manually find the names and modify them.
Is there any way to change one set, and all related version will be updated?? And how??

Regards Kefang

sverhoeven commented 5 years ago

The New release chapter in the generated README.md includes a command to do that. The whole repo has one version, which will be updated by that command in all the files.

Command is mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<version>-SNAPSHOT

KFDing commented 5 years ago

Ach... didn't see it before. Thanks