Difference between revisions of "Releasing Tycho"

From Eclipsepedia

Jump to: navigation, search
Line 7: Line 7:
 
*Update versions (same as above) to next <tt>-SNAPSHOT</tt> development version and push commit to <tt>master</tt> branch  
 
*Update versions (same as above) to next <tt>-SNAPSHOT</tt> development version and push commit to <tt>master</tt> branch  
 
*Make sure you have everything setup (GPG installed!) for deploying to the Nexus OSS repository, see [https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide guide]  
 
*Make sure you have everything setup (GPG installed!) for deploying to the Nexus OSS repository, see [https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide guide]  
*Add your credentials for server &lt;OSS_ID&amp;gt in ~/.m2/settings.xml  
+
*Add your credentials for server &lt;OSS_ID&amp;gt; in <tt>~/.m2/settings.xml</tt>
 
*Sync to release commit and deploy to nexus staging repository: <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: <tt>mvn clean deploy -Prelease -DforgeReleaseId=&lt;OSS_ID&gt; -DforgeReleaseUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2/</tt>  
*<pre>Close the staging repository and announce the temporary stage URL on tycho-user@eclipse.org:
+
*Close the staging repository and announce the temporary stage URL on tycho-user@eclipse.org:<br/>Subject:&nbsp;please test staged tycho &lt;VERSION&gt; <br/>Please help testing the staged tycho release &lt;VERSION&gt;. <br/>The staging repository URL is [1]. For details see release notes[2].<br/><br/> We plan to promote this release in one week unless major regressions are found.<br/>Regards,<br/>  Tycho team<br/> <br/>  [1] &lt;NEXUS_OSS_STAGING_URL&gt; [2] http://wiki.eclipse.org/Tycho/Release_Notes/&lt;VERSION&gt;
Subject:&nbsp;please test staged tycho &lt;VERSION&gt; Please help testing the staged tycho release &lt;VERSION&gt;. The staging repository URL is [1]. For details see release notes[2]. We plan to promote this release in one week unless major regressions are found. Regards, Tycho team [1] &lt;NEXUS_OSS_STAGING_URL&gt; [2] http://wiki.eclipse.org/Tycho/Release_Notes/&lt;VERSION&gt;
+
 
</pre>  
 
</pre>  
 
 
*Generate site docs 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 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 06:56, 9 October 2012

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&gt; 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>
    Please help testing the staged tycho release <VERSION>.
    The staging repository URL is [1]. For details see release notes[2].

    We plan to promote this release in one week unless major regressions are found.
    Regards,
    Tycho team

    [1] <NEXUS_OSS_STAGING_URL> [2] http://wiki.eclipse.org/Tycho/Release_Notes/<VERSION>

</pre>