Skip to content
Jørgen Sivesind edited this page May 22, 2020 · 29 revisions

Before release

Please consult our ISO documentation about the general procedures.

Releasing a production release

Go trough the following procedures to release Enonic XP:

  1. Make sure you do not have uncommitted code (git status)
  2. Switch to the release branch (git checkout <branch>)
  3. Pull latest changes from remote (git pull)
  4. Build the code using the clean option (./gradlew clean build)
  5. Update gradle.properties with the release version
  6. Commit the changes with release message (git commit -am "Released vX.X.X")
  7. Tag the release (git tag vX.X.X)
  8. Publish the artifacts to remote repository (./gradlew clean build uploadArchives --refresh-dependencies / publish)
  9. Update gradle.properties with next snapshot version
  10. Commit the changes with next snapshot message (git commit -am "Updated to next SNAPSHOT version")
  11. Push the changes (with tags) to github (git push origin <branch> --tags)
  12. Merge changes to master

Releasing a milestone or release candidate

Milestone and release candidate releases can use a simplified procedure.

  1. Make sure you do not have uncommitted code (git status)
  2. Switch to the release branch (git checkout <branch>)
  3. Pull latest changes from remote (git pull)
  4. Tag the release (git tag vX.X.X-[RC/M/B]Y)
  5. Build release and publish to remote repository (./gradlew -Pversion=X.X.X-[RC/M/B]Y clean build uploadArchives) - (publish for 7.0 and apps.)
  6. Push the changes (with tags) to github (git push origin <branch> --tags)

Update changelog for tag

Add release notes to the release tag in GitHub.

  1. Set the release-title to Enonic XP <release version>
  2. Generate the changelog from GitHub using the {{generate-changelog}} command in the "release-tools" project.
  3. Read through and verify that all entries should be there.
  4. Copy the resulting changelog file to the release tag.

After production releases

When the release is done, we have to update the following:

  1. Update the documentation in xp-doc. Please consult the release document there.
  2. Write a release notification on our public boards.
Clone this wiki locally