Jump to: navigation, search

Difference between revisions of "Releasing Tycho"

Line 9: Line 9:
 
*Add your credentials for server <tt>&lt;OSS_ID&gt;</tt> in <tt>~/.m2/settings.xml</tt>  
 
*Add your credentials for server <tt>&lt;OSS_ID&gt;</tt> in <tt>~/.m2/settings.xml</tt>  
 
*Sync to release commit and deploy to nexus staging repository: <br/><tt>mvn clean deploy -Prelease -DforgeReleaseId=&lt;OSS_ID&gt; -DforgeReleaseUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2/</tt>  
 
*Sync to release commit and deploy to nexus staging repository: <br/><tt>mvn clean deploy -Prelease -DforgeReleaseId=&lt;OSS_ID&gt; -DforgeReleaseUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2/</tt>  
*Close the staging repository and announce the temporary stage URL on tycho-user@eclipse.org:<tt><br/>Subject:&nbsp;please test staged tycho &lt;VERSION&gt; <br/><br/>Please help testing the staged tycho release &lt;VERSION&gt;. For details of bugfixes and improvements, see release notes [1]. <br/> To test it, change your tycho version to &lt;VERSION&gt; and add snippet [2] to your (parent) pom.xml. <br/><br/> We plan to promote this release in one week unless major regressions are found.<br/><br/>Regards,<br/>  Tycho team<br/> <br/>  [1] http://wiki.eclipse.org/Tycho/Release_Notes/&lt;VERSION&gt; <br/>[2]<br/>&lt;pluginRepositories&gt;<br/>  &nbsp;&lt;pluginRepository&gt;<br/>    &nbsp;&nbsp;&lt;id&gt;tycho-staged&lt;/id&gt;<br/> &nbsp;&nbsp;&lt;url&gt;&lt;NEXUS_OSS_STAGING_URL&gt;&lt;/url&gt;<br/>  &nbsp;&lt;/pluginRepository&gt;<br/>&lt;/pluginRepositories&gt;<br/></tt>
+
*Close the staging repository and announce the temporary stage URL on tycho-user@eclipse.org:<tt><br/>Subject:&nbsp;please test staged tycho &lt;VERSION&gt; <br/><br/>Tycho milestone release &lt;VERSION&gt; has been staged. For details of new features and bugfixes, see release notes [1]. <br/> Please help by testing the staged milestone build. To use it, change your tycho version to &lt;VERSION&gt; and add snippet [2] to your pom. <br/><br/> We plan to promote this release in one week unless major regressions are found.<br/><br/>Regards,<br/>  Tycho team<br/> <br/>  [1] http://wiki.eclipse.org/Tycho/Release_Notes/&lt;VERSION&gt; <br/>[2]<br/>&lt;pluginRepositories&gt;<br/>  &nbsp;&lt;pluginRepository&gt;<br/>    &nbsp;&nbsp;&lt;id&gt;tycho-staged&lt;/id&gt;<br/> &nbsp;&nbsp;&lt;url&gt;&lt;NEXUS_OSS_STAGING_URL&gt;&lt;/url&gt;<br/>  &nbsp;&lt;/pluginRepository&gt;<br/>&lt;/pluginRepositories&gt;<br/></tt>
 
*Generate site docs for both tycho and tycho-extras using <tt>mvn clean install site site:stage</tt> and check the result in to [http://www.eclipse.org/tycho/sitedocs tycho homepage site docs]  
 
*Generate site docs for both tycho and tycho-extras using <tt>mvn clean install site site:stage</tt> and check the result in to [http://www.eclipse.org/tycho/sitedocs tycho homepage site docs]  
 
*Browse the [[:Category:Tycho|Tycho wiki pages]] to update any hardcoded tycho versions to the latest version  
 
*Browse the [[:Category:Tycho|Tycho wiki pages]] to update any hardcoded tycho versions to the latest version  

Revision as of 05:21, 18 March 2013

This page describes the steps necessary to create releases of the Tycho project.

  • Prepare the Tycho/Release Notes which should provide a quick overview of new features and bug fixes
  • Steps below apply to both tycho and tycho-extras git repositories as these should normally be released together and with the same version
  • Update versions using
    mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=...
  • Commit version change, create a git tag tycho-<VERSION> on this commit and create a new remote branch tycho-MAJOR.MINOR.x based on this commit in git
  • Update versions (same as above) to next -SNAPSHOT development version and push commit to master branch
  • Make sure you have everything setup (GPG installed!) for deploying to the Nexus OSS repository, see guide
  • Add your credentials for server <OSS_ID> in ~/.m2/settings.xml
  • Sync to release commit and deploy to nexus staging repository:
    mvn clean deploy -Prelease -DforgeReleaseId=<OSS_ID> -DforgeReleaseUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2/
  • Close the staging repository and announce the temporary stage URL on tycho-user@eclipse.org:
    Subject: please test staged tycho <VERSION>

    Tycho milestone release <VERSION> has been staged. For details of new features and bugfixes, see release notes [1].
    Please help by testing the staged milestone build. To use it, change your tycho version to <VERSION> and add snippet [2] to your pom.

    We plan to promote this release in one week unless major regressions are found.

    Regards,
    Tycho team

    [1] http://wiki.eclipse.org/Tycho/Release_Notes/<VERSION>
    [2]
    <pluginRepositories>
     <pluginRepository>
      <id>tycho-staged</id>
      <url><NEXUS_OSS_STAGING_URL></url>
     </pluginRepository>
    </pluginRepositories>
  • Generate site docs for both tycho and tycho-extras using mvn clean install site site:stage and check the result in to tycho homepage site docs
  • Browse the Tycho wiki pages to update any hardcoded tycho versions to the latest version
  • Update tycho-demo projects to the latest release
  • Announce the release on tycho-user@eclipse.org, tycho-dev@eclipse.org and the tycho homepage new and noteworthy section