Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (20 loc) · 1.32 KB

RELEASING.md

File metadata and controls

24 lines (20 loc) · 1.32 KB

Test first

  1. mvn install to install it locally and run tests/integration tests, runs about 15 min
  2. use the new version as snapshot dependency for sunrise and run it: sbt clean fullClasspath run, the categories and the products should appear with prices

Release without rerunning the tests

  1. ./mvnw release:prepare -Darguments="-DskipTests" -DskipTests
    • ~ 2 min
  2. ./mvnw release:perform -Darguments="-DskipTests" -DskipTests
    • ~ 10 min
  3. https://oss.sonatype.org/ click "release" for commercetools/sphere stuff in "Staging Repositories"
  4. publish the Javadoc to GitHub pages: git checkout $(git describe --abbrev=0 --tags) && ./mvnw clean compile javadoc:aggregate scm-publish:publish-scm -P publish-site && git checkout master
  5. update GitHub release on https://github.com/commercetools/commercetools-jvm-sdk/releases
  6. add version badges to http://dev.commercetools.com/release-notes.html
  7. update version in the GitHub README

Rollback on failures

  1. ./mvnw release:rollback
  2. may remove tag (example): git tag -d v1.0.0-RC3 && git push origin :refs/tags/v1.0.0-RC3
  3. ./mvnw release:clean

location of artefacts