Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Gemini/DBAccess/CommitterGuide/HowToRelease

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