Skip to content

Releasing deegree

tfr42 edited this page Dec 9, 2021 · 51 revisions

Checklist

Tasks do be done when publishing a release version of deegree:

Update GitHub pull requests

Tag every pull request with "bug", "enhancement" or "feature". Remove all other tags and assign it to a target version. For PR which have been rejected by TMC add flag "invalid", "duplicate" or "wontfix". Then close the current milestone for the stable line and create a new one in https://github.com/deegree/deegree3/milestones. And move all PR to the new milestone which are still open. For the unstable version update the link to the download from repo.deegree.org.

Run Jenkins jobs

NOTE: You need to be logged in to Jenkins, otherwise the relevant actions are not available.

In order to avoid the need for manual rollbacks, always run the deegree-*-master jobs as normal (non-release) jobs first and only to go on if these builds succeed:

  • 3.4: Link -> "Build Now"

If build worked fine, perform the actual release:

  • 3.4: Link -> "Perform Maven Release"

both with the default settings.

Attention: If a release build fails, clean up Jenkins before continuing:

  • Log in to central.deegree.org via SSH. Become hudson: sudo su - hudson
  • Change to checkout directory: cd /home/hudson/hudson-builds/{Jenkins Job}/workspace
  • Check status: git status
  • Remove untracked files: git clean -fd
  • Revert changes: git reset --hard master (if commits have been made by release plugin, reset to specific commit)
  • Remove tag if necessary: git tag -d {Release tag}
  • Remove remote tag if necessary: git push origin/master :refs/tags/{Release tag}

Publish the handbook

Run build job: https://buildserver.deegree.org/view/misc/job/internal/job/publish-documentation with parameter RELEASE_VERSION=3.4.X

WORKAROUND: Login to central.deegree.org (ssh), then:

cd /var/www/download.deegree.org/documentation/
rm current
ln -s ./3.4.X ./current

NOTE: You need to exchange 3.4.X with the correct version.

Update homepage

Send release announcement

NOTE: adapt versions and links!

Subject: deegree webservices 3.4.X available

Body:

Dear deegree users,

we're happy to be able to announce new official deegree-webservices releases:

* New point release: 3.4.X *

- Download: http://www.deegree.org/Download
- Documentation: http://www.deegree.org/Documentation
- Changelog: https://github.com/deegree/deegree3/issues?milestone=X&state=closed

Enjoy!
Clone this wiki locally