This page describes the steps necessary to create releases of the Tycho project.
- Make sure all bugs have the correct target milestone for this release
- Schedule a new release and generate the IP log on projects.eclipse.org
- Prepare the Tycho/Release Notes which should provide a quick overview of new features and bug fixes
- Link the N&N to the release review
- At least once per year, a review is required. In that case, send email to firstname.lastname@example.org to review the release docs.
- Update versions using
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=...
- Commit version change, and create a git tag tycho-<VERSION> on this commit
- Update versions (same as above) to next -SNAPSHOT development version and push commit to master branch
- Create the new version and milestone in the bugzilla manager
- Make sure you have everything setup (GPG installed!) for deploying to the Nexus OSS repository, see guide
- Add your credentials for server sonatype-nexus-staging in ~/.m2/settings.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <!-- ... --> <servers> <server> <id>sonatype-nexus-staging</id> <username>mickael.istria</username> <password>securePassword</password> <!-- use `mvn --encrypt-password` to not store plain text --> </server> <!-- ... --> </servers> </settings>
- Checkout the tag version tycho-<VERSION> so current commit is the tag.
- Sync to release commit and deploy to nexus staging repository:
mvn clean deploy -Prelease -DforgeReleaseId=sonatype-nexus-staging -DforgeReleaseUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2/
- Generate site docs using mvn clean install site site:stage and check the result from target/staging
- On https://oss.sonatype.org/#stagingRepositories , Close the staging repository and announce the temporary stage URL on email@example.com:
Subject: please test staged tycho <VERSION> Tycho release <VERSION&> has been staged. For details of new features and bugfixes, see release notes . Please help by testing the staged build. To use it, change your tycho version to <VERSION> and add snippet  to your pom. We plan to promote this release in one week unless major regressions are found. Regards, Tycho team  http://wiki.eclipse.org/Tycho/Release_Notes/<VERSION>  <pluginRepositories> <pluginRepository> <id>tycho-staged</id> <url><NEXUS_OSS_STAGING_URL></url </pluginRepository> </pluginRepositories>
- Prepare update tycho-demo projects to the latest release and push the change as a review to Gerrit
- Prepare Update yo the webite, using git repo https://git.eclipse.org/c/www.eclipse.org/tycho.git/
- Change versions on main page
- Update the New and Noteworthy section
- Prepare sitedocs: Copy the local site docs folders target/staging/sitedocs to the existing sitedocs folder
- Submit those change as Gerrit review (don't merge yet)
- ... Wait until review date (usually a week later)...
- After ~1 week of testing, promote the stage repository on https://oss.sonatype.org/
- Only drop the staging repository once the artifacts have reached Maven central.
- Push the release tags to git: git push origin --tags
- Browse the Tycho wiki pages to update any hardcoded tycho versions to the latest version
- Merge the update to org.eclipse.tycho-demo and website in Gerrit
- Announce the release
- Find out who contributed to the release:
git log --pretty=format:%an tycho-0.<n>..tycho-0.<n+1> | sort | uniq git log --grep="Also-[bB]y:" tycho-0.<n>..tycho-0.<n+1> | grep -i also-by | sed -e 's/.*Also-[bB]y:\s*\(.*\)/\1/' | sort | uniq
- Announce the release on firstname.lastname@example.org, email@example.com, thanking the contributors:
Subject: Tycho <n> released Tycho <n> has been released and is available from maven central. See the release notes  for details of enhancements and bug fixes in this release. Thanks to <contributors> who contributed patches for this release. And thanks and to everyone who helped us with testing the staged version. Regards, Tycho team  http://wiki.eclipse.org/Tycho/Release_Notes/<n>
- Optionally, announce on other medias (Twitter)