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)
 
(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]] 16:48, 10 December 2012 (UTC)
+
<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

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, just the contained files sub directories.
    3. upload zip to download.eclipse.org/gemini/dbaccess/r1.1/milestones/gemini-dbaccess-1.1.0.M4-updates.zip
    4. upload the uncompressed p2 repository 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 11:00, 6 February 2013 (UTC)

Back to the top