Skip to content

Releasing

Stefan Kapferer edited this page Nov 25, 2018 · 8 revisions

Creating a ContextMapper DSL Release

The following instructions describe how the ContextMapper DSL Eclipse Plugin is released.

Preparation

If the current SNAPSHOT version is not the version you want to release, you have to bump the version first. (TODO: Provide further instructions and maybe a script. At the moment the version has to be bumped manually in all the pom.xml and MANIFEST.MF files)

Triggering the release

Note that the release is (and must) always be executed on Travis. Do not execute the release locally. However, the release is still triggered with a local script.

Prerequisites:

  • gem install travis
  • travis login

Once you are locally logged in (Travis), you can trigger the release with the following steps:

  • cd ./travis (this is important, always execute the script within the folder, not by ./.travis/releaseTrigger.sh)
  • ./releaseTrigger.sh

The release process should now be performed automatically on Travis by the following steps:

  • Release is getting prepared: Within this first step, Travis will change the pom.xml and MANIFEST.MF files and then commit these changes. It further creates the release tag.
  • The release tag will trigger a new Travis job which actually builds and deploys the release.
  • A commit for the new SNAPSHOT version is made (changing the pom.xml and MANIFEST.MF files).

Checks

After the Travis jobs have finished, check if it was successful:

Clone this wiki locally