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.
Difference between revisions of "Triquetrum/Releng/Milestone Builds"
< Triquetrum | Releng
(How to update the version number) |
(Update targetDir after release so that we avoid overwriting.) |
||
Line 8: | Line 8: | ||
## Edit [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/pom.xml releng/org.eclipse.triquetrum.repository/pom.xml] and update the version by removing <code>qualifier</code> from the <code>id</code>. | ## Edit [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/pom.xml releng/org.eclipse.triquetrum.repository/pom.xml] and update the version by removing <code>qualifier</code> from the <code>id</code>. | ||
## Edit [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/Triquetrum.product org.eclipse.triquetrum.repository/Triquetrum.product]] and remove <code>qualifier</code> from the <code>product uid</code>. | ## Edit [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/Triquetrum.product org.eclipse.triquetrum.repository/Triquetrum.product]] and remove <code>qualifier</code> from the <code>product uid</code>. | ||
− | ## Run | + | ## Run <code>mvn clean verify</code> and edit the <code>pom.xml</code> and <code>Triquetrum.product</code> until the files that are created have the correct names. |
# The [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/publish.xml org.eclipse.triquetrum.repository/publish.xml] file contains a copyZips target that is invoked by the triquetrum.milestone build. | # The [https://github.com/eclipse/triquetrum/blob/master/releng/org.eclipse.triquetrum.repository/publish.xml org.eclipse.triquetrum.repository/publish.xml] file contains a copyZips target that is invoked by the triquetrum.milestone build. | ||
## Update the milestone directory: configure the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/configure Hudson triquetrum.milestone build] and in Build -> Invoke Ant, click on Advanced Properties and update <code>targetDir=/home/data/httpd/download.eclipse.org/triquetrum/0.2.0RC1/</code>, then save the change [[File:TriquetrumHudsonMilestoneScreenshot.png|900px|Hudson triquetrum.milestone screenshot showing the Build -> Ant Task section]] | ## Update the milestone directory: configure the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/configure Hudson triquetrum.milestone build] and in Build -> Invoke Ant, click on Advanced Properties and update <code>targetDir=/home/data/httpd/download.eclipse.org/triquetrum/0.2.0RC1/</code>, then save the change [[File:TriquetrumHudsonMilestoneScreenshot.png|900px|Hudson triquetrum.milestone screenshot showing the Build -> Ant Task section]] | ||
# Enable and run the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/ Hudson triquetrum.milestone build]. | # Enable and run the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/ Hudson triquetrum.milestone build]. | ||
# To see what files are created, see http://download.eclipse.org/triquetrum/0.2.0RC1/?d | # To see what files are created, see http://download.eclipse.org/triquetrum/0.2.0RC1/?d | ||
− | # When you are satisfied with the output, | + | # When you are satisfied with the output, in the [https://hudson.eclipse.org/triquetrum/job/triquetrum.milestone/ Hudson triquetrum.milestone build]: |
+ | ## Update the @@targetDir@@ to the next milestone release so that we don't accidentally overwrite the current release | ||
+ | ## Disable the triquetrum.milestone build. | ||
# Edit [[Triquetrum/Downloads | Triquetrum Downloads]]. | # Edit [[Triquetrum/Downloads | Triquetrum Downloads]]. | ||
# Update the version number of the master branch to the next version using <code>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.3.0</code> | # Update the version number of the master branch to the next version using <code>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.3.0</code> |
Revision as of 14:25, 7 October 2017
Create a Triquetrum Milestone Build
To create a Triquetrum Milestone Build, follow these steps:
- See Eclipse Development Process > Releases and Version Numbering for how to select a version number.
- Update the version number using
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.2.0
. - Update the version numbers by hand:
- Edit releng/org.eclipse.triquetrum.repository/pom.xml and update the version by removing
qualifier
from theid
. - Edit org.eclipse.triquetrum.repository/Triquetrum.product] and remove
qualifier
from theproduct uid
. - Run
mvn clean verify
and edit thepom.xml
andTriquetrum.product
until the files that are created have the correct names.
- Edit releng/org.eclipse.triquetrum.repository/pom.xml and update the version by removing
- The org.eclipse.triquetrum.repository/publish.xml file contains a copyZips target that is invoked by the triquetrum.milestone build.
- Update the milestone directory: configure the Hudson triquetrum.milestone build and in Build -> Invoke Ant, click on Advanced Properties and update
targetDir=/home/data/httpd/download.eclipse.org/triquetrum/0.2.0RC1/
, then save the change
- Update the milestone directory: configure the Hudson triquetrum.milestone build and in Build -> Invoke Ant, click on Advanced Properties and update
- Enable and run the Hudson triquetrum.milestone build.
- To see what files are created, see http://download.eclipse.org/triquetrum/0.2.0RC1/?d
- When you are satisfied with the output, in the Hudson triquetrum.milestone build:
- Update the @@targetDir@@ to the next milestone release so that we don't accidentally overwrite the current release
- Disable the triquetrum.milestone build.
- Edit Triquetrum Downloads.
- Update the version number of the master branch to the next version using
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.3.0