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 "Gemini/DBAccess/CommitterGuide/HowToRelease"
< Gemini | DBAccess | CommitterGuide
(→Publish) |
(→Publish) |
||
Line 26: | Line 26: | ||
# check pom.xml for "M4" (for example using Eclipse). Correct the version to 1.1.0-SNAPSHOT | # check pom.xml for "M4" (for example using Eclipse). Correct the version to 1.1.0-SNAPSHOT | ||
− | === Publish === | + | === Publish === |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <br> [[User:Juergen.kissner.sap.com|Juergen.kissner.sap.com]] 16:48, 10 December 2012 (UTC) | + | #p2 update site |
+ | ##get p2 repo from https://hudson.eclipse.org/hudson/job/gemini-dbaccess/lastBuild/artifact/gemini.dbaccess.updatesite/target/site/ | ||
+ | ##compress the contents of the downloaded directory, using a name following the scheme gemini-dbaccess-1.1.0.M4-updates.zip. | ||
+ | ##*Note: the root directory "site" is not part of the archive, only its sub directories. | ||
+ | ##upload zip to download.eclipse.org/gemini/dbaccess/r1.1/milestones/gemini-dbaccess-1.1.0.M4-updates.zip | ||
+ | ##upload to p2 update site: download.eclipse.org/gemini/dbaccess/updates/1.1-M4 | ||
+ | #Maven repository | ||
+ | ##get maven repo from https://hudson.eclipse.org/hudson/job/gemini-dbaccess/lastBuild/artifact/target/maven_repository/ | ||
+ | ##upload to download.eclipse.org/gemini/dbaccess/mvn/ | ||
+ | #update the DBAccess project pages | ||
+ | #announce on the forum and mailing list | ||
+ | |||
+ | <br> [[User:Juergen.kissner.sap.com|Juergen.kissner.sap.com]] 16:48, 10 December 2012 (UTC) | ||
[[Category:Gemini_DBAccess|DBAccess]] | [[Category:Gemini_DBAccess|DBAccess]] |
Revision as of 06:47, 6 February 2013
Contents
Release Instructions
Build Environment:
- Java 6
- Maven 3.0.x.
For example, for 1.1.0.M4:
Update version
- mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.1.0.M4 (in mvn_parent)
- the version plugin is not able to adapt all version information. Some manual work is required to complete the version change.
- check *.xml for "-SNAPSHOT" (for example using Eclipse). Correct the version to 1.1.0.M4.
- Example: mvn_parent/pom.xml references the target-platform-configuration plugin where an adjustment of the target platform version has to be made (<version>1.1.0.M4</version>).
Update Readme.txt
- Adapt the version and date information in the doc/Readme.txt file.
Build and test
- mvn clean deploy (in mvn_parent)
- check the mvn artifacts in mvn_parent/target
Generate tag, increment version
- commit and push the changes
- tag the git repo
- mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.1.0-SNAPSHOT (in mvn_parent)
- check pom.xml for "M4" (for example using Eclipse). Correct the version to 1.1.0-SNAPSHOT
Publish
- p2 update site
- get p2 repo from https://hudson.eclipse.org/hudson/job/gemini-dbaccess/lastBuild/artifact/gemini.dbaccess.updatesite/target/site/
- compress the contents of the downloaded directory, using a name following the scheme gemini-dbaccess-1.1.0.M4-updates.zip.
- Note: the root directory "site" is not part of the archive, only its sub directories.
- upload zip to download.eclipse.org/gemini/dbaccess/r1.1/milestones/gemini-dbaccess-1.1.0.M4-updates.zip
- upload to p2 update site: download.eclipse.org/gemini/dbaccess/updates/1.1-M4
- Maven repository
- get maven repo from https://hudson.eclipse.org/hudson/job/gemini-dbaccess/lastBuild/artifact/target/maven_repository/
- upload to download.eclipse.org/gemini/dbaccess/mvn/
- update the DBAccess project pages
- announce on the forum and mailing list
Juergen.kissner.sap.com 16:48, 10 December 2012 (UTC)