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) |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
=== Update version === | === Update version === | ||
# mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.1.0.M4 (in mvn_parent) | # mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.1.0.M4 (in mvn_parent) | ||
− | # check *.xml for "-SNAPSHOT" (for example using Eclipse). Correct the version to 1.1.0.M4 | + | # 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 === | === Build and test === | ||
Line 21: | 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 === |
− | # p2 update site | + | |
− | ## get p2 repo from https://hudson.eclipse.org/hudson/job/gemini-dbaccess/lastBuild/artifact/gemini.dbaccess.updatesite/target/site/ | + | #p2 update site |
− | ## upload zip to download.eclipse.org/gemini/dbaccess/r1.1/milestones/gemini-dbaccess-1.1.0.M4-updates.zip | + | ##get p2 repo from https://hudson.eclipse.org/hudson/job/gemini-dbaccess/lastBuild/artifact/gemini.dbaccess.updatesite/target/site/ |
− | ## upload to download.eclipse.org/gemini/dbaccess/updates/1.1-M4 | + | ##compress the contents of the downloaded directory, using a name following the scheme gemini-dbaccess-1.1.0.M4-updates.zip. |
− | # Maven repository | + | ##*Note: the root directory "site" is not part of the archive, just the contained files sub directories. |
− | ## get maven repo from https://hudson.eclipse.org/hudson/job/gemini-dbaccess/lastBuild/artifact/target/maven_repository/ | + | ##upload zip to download.eclipse.org/gemini/dbaccess/r1.1/milestones/gemini-dbaccess-1.1.0.M4-updates.zip |
− | ## upload to download.eclipse.org/gemini/dbaccess/mvn/ | + | ##upload the uncompressed p2 repository to p2 update site: download.eclipse.org/gemini/dbaccess/updates/1.1-M4 |
− | # update the DBAccess project pages | + | #Maven repository |
− | # announce on the forum and mailing list | + | ##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]] | + | <br> [[User:Juergen.kissner.sap.com|Juergen.kissner.sap.com]] 11:00, 6 February 2013 (UTC) |
[[Category:Gemini_DBAccess|DBAccess]] | [[Category:Gemini_DBAccess|DBAccess]] |
Latest revision as of 07:00, 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, just the contained files sub directories.
- upload zip to download.eclipse.org/gemini/dbaccess/r1.1/milestones/gemini-dbaccess-1.1.0.M4-updates.zip
- upload the uncompressed p2 repository 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 11:00, 6 February 2013 (UTC)