Skip to content

How to release (automated)

Calixte edited this page Dec 24, 2021 · 23 revisions

This page describes the process to release a new eclipse-cs version.

Preconditions:

  • eclipse-cs Git repo is cloned
  • project can be built, make sure Travis is green
  • Make sure you have github api auth token in file ~/.m2/token-checkstyle.txt

Prepare and test release build

  1. Print previous version
xmlstarlet sel -N pom=http://maven.apache.org/POM/4.0.0 \
           -t -m pom:project -v pom:version pom.xml | sed "s/-SNAPSHOT//"
  1. Execute (takes about 8 min): ./release.sh X.XX.0 X.{XX+1}.0 where first argument is release version(previous version + 1), and second is future release version (used for Github milestone creation).

Update Eclipse Marketplace listing

Requires permission for the listing

This is needed to make the new version visible and installable via the Eclipse Marketplace

  1. Go to https://marketplace.eclipse.org/content/checkstyle-plug, Log in
  2. Press "Edit", update version number or other information as necessary, press "Save"

Test installations

  1. Uninstall eclipse-cs from Eclipse and re-install via Eclipse Marketplace
  2. Uninstall eclipse-cs and re-install via update site: https://checkstyle.org/eclipse-cs/update