Skosmos 3 Release Process - NatLibFi/Skosmos GitHub Wiki
Steps to perform a Skosmos 3 alpha/beta release:
- Make sure package dependencies are up to date and installable without any breakage:
php composer.phar self-update && php composer.phar update && npm install - In your own dev environment: Make sure you have the latest
mainbranch. Update the Skosmos version number incomposer.jsonto match the upcoming release (i.e. remove the-devsuffix) and commit this to themainbranch (git commit composer.json -m "set version 3.0 for release"), create a new tag (git tag v3.0) and push both the commit and the tag to GitHub (git push; git push --tags) - Wait for GitHub Actions CI tests for the new tag/commit to complete, to make sure nothing is broken. (The build for the tag should pass and push the Docker image to Quay.io)
- Make a release from the maintenance branch using the GitHub Releases UI: Tag version "v3.0", target branch is
main, the previous release tag is "v3.0-beta.2", the title is "Skosmos 3.0", enter the release notes (you can use the Generate release notes button for a starting point), (set it as pre-release,) and press Publish - Announce the release on skosmos-users: copy the text from the GitHub release page into a new post
- In your own dev environment: Update the Skosmos version number in
composer.jsonto the next expected version (with-devsuffix) and commit to themainbranch:git commit composer.json -m "mark the start of 3.1 development" - Push the commit to GitHub:
git push - Add a tag to mark the beginning of a new development cycle:
git tag v3.1-dev - Push the new tag to GitHub:
git push --tags - Adjust milestones: mark the completed milestone as closed and create a new one for the next cycle
- Adjust issues and PRs: search for open issues and PRs tagged with the closed milestone and move them to the next one (or some other future milestone)
- In this document, change the version numbers for the next release