Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Releasing Tycho"

m
m
Line 4: Line 4:
 
* Steps below apply to both [http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/ tycho] and [http://git.eclipse.org/c/tycho/org.eclipse.tycho.extras.git/ tycho-extras] git repositories as these should normally be released together and with the same version
 
* Steps below apply to both [http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/ tycho] and [http://git.eclipse.org/c/tycho/org.eclipse.tycho.extras.git/ tycho-extras] git repositories as these should normally be released together and with the same version
 
* Update versions using <tt>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=...</tt>
 
* Update versions using <tt>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=...</tt>
* Commit version change and create a new remote branch <tt>tycho-MAJOR.MINOR.x</tt> based on this commit in [http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/ git]
+
* Commit version change, create a git tag <tt>tycho-&lt;VERSION&gt;</tt> on this commit and create a new remote branch <tt>tycho-MAJOR.MINOR.x</tt> based on this commit in [http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/ git]
* 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
* TODO add steps here
+
* Make sure you have everything setup (GPG installed!) for deploying to the Nexus OSS repository, see [guide|https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide]
 +
* Add your credentials for server &lt;OSS_ID&gt in ~/.m2/settings.xml
 +
* 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>
 +
* Close the staging repository and announce the temporary stage URL on tycho-user@eclipse.org
 
* 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
 
* Update [http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/ tycho-demo projects] to the latest release
 
* Update [http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/ tycho-demo projects] to the latest release
 
* Announce the release on tycho-user@eclipse.org, tycho-dev@eclipse.org and the [http://www.eclipse.org/tycho tycho homepage new and noteworthy section]
 
* Announce the release on tycho-user@eclipse.org, tycho-dev@eclipse.org and the [http://www.eclipse.org/tycho tycho homepage new and noteworthy section]
* Edit the list of releases on [http://www.eclipse.org/projects/project.php?id=technology.tycho Tycho project page] via the [https://dev.eclipse.org/portal/myfoundation/portal/portal.php Eclipse portal]
 
  
 
[[Category:Tycho]]
 
[[Category:Tycho]]

Revision as of 05:42, 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|https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+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
  • Generate site docs 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

Back to the top