Who is in charge of?

Commiter + a basic developer in order to transfer knowledge and improve the process.

When?

when you need it, on a regular basis, every two month.

How long?

It last at least 120mn

Prerequisite

Access

Have the Hudson acess

Pre-Actions

You can send an email to the developers mailing list.

Steps

Create a bugzilla ticket.

No critical bugs open for the release you are targeting

Jobs (master,website,quality,deploy) are green

Initial Version should match qualifier and -SNAPSHOT

You must fill the changelog to describe the new version feature.

/org.eclipse.papyrus-sysml/src/changes/changes.xml

Details https://maven.apache.org/plugins/maven-changes-plugin/changes.html

Upgrade the version of application

use tycho-versions plugin to switch from qualifier to release, and then back from release to qualifier

mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=X.Y.Z-SNAPSHOT

check the different pom.xml and MANIFEST.MF

You have to manually update the category.xml at /org.eclipse.papyrus-sysml/releng/org.eclipse.papyrus.sysml14.p2/category.xml

Update also the pom

mvn org.eclipse.tycho:tycho-versions-plugin:update-pom -Dtycho.localArtifacts=ignore

Upgrade also the target platform version in the main pom

Push on gerrit the different modifications

Who: non commityer action

egit or others.

Accept the changes

Who: commityer action

gerrit web action.

Rexecute the job Master and Website

Who: any

Goal is to use this job version as data for the promotion.

Tag the release

Who: commiter action

how

Deploy the product (update site and the rcp)

Who: uncommiter action

how: job on hudson, fill the fields

Deploy the web site

Who: uncommiter action + commiter review

Generate the new web site

mvn install site site:stage-deploy -Pproduct,documentation,documentation-pdf,quality,web.release -DsiteMainDirectory=/home/flefevre/tmp/sysml/site-staging -Dmaven.clean.skip=true -Dweb.absoluteResourceURL=https://www.eclipse.org/papyrus/components/sysml/3DIGITVERSION/ -Dweb.href=https://www.eclipse.org/papyrus/components/sysml/3DIGITVERSION/index.html

Copy/paste it in the git repository dedicated to the web, in its own version folder

Update the root index.html

https://git.eclipse.org/c/www.eclipse.org/papyrus-sysml.git/

Ask for validation by adding Remi SCHNEKENBURGER as reviewer.

Upgrade to the next snapshot version of the application

use tycho-versions plugin

mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=X.Y.Z-SNAPSHOT

You have to manually update the category.xml at /org.eclipse.papyrus-sysml/releng/org.eclipse.papyrus.sysml14.p2/category.xml

check the different pom.xml and MANIFEST.MF

Web-site release

You need also to deploy the new web site matching your release product version.

By going to https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-eclipse-web-deploy/, you could retrieve the zip of the site under the workspace ws/site-staging/3DIGITVERSION

Then you have to submit a gerrit patch on the papyrus git repository, located here: www.eclipse.org papyrus.git modeling.mdt.papyrus project website

You have also to modify the main index.html file to update the current website version and to add your version in the menu.

The final result should be available after a few miniutes here https://www.eclipse.org/papyrus/components/sysml/3DIGITVERSION/

Post-Actions

You can send an email to the developers mailing list

Back to top

Version: 0.9.0. Last Published: 2016-06-02.

Reflow Maven skin by Andrius Velykis.