blob: beff072b0ab91f4f29fd0f61969101e49d781802 [file] [log] [blame] [view]
Setting new version
===================
export RELEASE_VERSION=x.y.z
git clean -df
mvn -Dtycho.mode=maven clean
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -Dproperties=loggingVersion -DnewVersion=${RELEASE_VERSION}
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -Dartifacts=$(basename bundles/*/ examples/*/ tests/*/ features/*/ | paste -sd "," - ) -DnewVersion=${RELEASE_VERSION}-SNAPSHOT
mvn -Dtycho.mode=maven tidy:pom
git commit -a -m "[releng] ${RELEASE_VERSION}" --signoff
export NEXT_VERSION=x.y.(z+1)
git checkout HEAD^ -- '*'
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -Dtycho.mode=maven -Dproperties=loggingVersion -DnewVersion=${NEXT_VERSION}-SNAPSHOT
mvn -Dtycho.mode=maven tidy:pom
git commit -a -m "[releng] ${NEXT_VERSION}-SNAPSHOT" --signoff