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 "Gemini/DBAccess/CommitterGuide/HowToRelease"

(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 ===
# 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.
+
## 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)
+
#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

Release Instructions

Build Environment:

  1. Java 6
  2. Maven 3.0.x.

For example, for 1.1.0.M4:

Update version

  1. mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.1.0.M4 (in mvn_parent)
  2. 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

  1. Adapt the version and date information in the doc/Readme.txt file.

Build and test

  1. mvn clean deploy (in mvn_parent)
  2. check the mvn artifacts in mvn_parent/target

Generate tag, increment version

  1. commit and push the changes
  2. tag the git repo
  3. mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.1.0-SNAPSHOT (in mvn_parent)
  4. check pom.xml for "M4" (for example using Eclipse). Correct the version to 1.1.0-SNAPSHOT

Publish

  1. p2 update site
    1. get p2 repo from https://hudson.eclipse.org/hudson/job/gemini-dbaccess/lastBuild/artifact/gemini.dbaccess.updatesite/target/site/
    2. 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.
    3. upload zip to download.eclipse.org/gemini/dbaccess/r1.1/milestones/gemini-dbaccess-1.1.0.M4-updates.zip
    4. upload to p2 update site: download.eclipse.org/gemini/dbaccess/updates/1.1-M4
  2. Maven repository
    1. get maven repo from https://hudson.eclipse.org/hudson/job/gemini-dbaccess/lastBuild/artifact/target/maven_repository/
    2. upload to download.eclipse.org/gemini/dbaccess/mvn/
  3. update the DBAccess project pages
  4. announce on the forum and mailing list


Juergen.kissner.sap.com 16:48, 10 December 2012 (UTC)

Back to the top