Move sources to release mirror in SVN
# Move core svn move -m "Release Apache StreamPipes (incubating) 0.69.0" \ https://dist.apache.org/repos/dist/dev/incubator/streampipes/0.69.0/rc1/ \ https://dist.apache.org/repos/dist/release/incubator/streampipes/0.69.0
Deploy Maven artifacts to Maven Central
The probably simplest part is releasing the Maven artifacts.
In order to do this, the release manager logs into Nexus at https://repository.apache.org/, selects the staging repository and clicks on the Release
button.
This will move all artifacts into the Apache release repository and delete the staging repository after that.
All release artifacts released to the Apache release repo, will automatically be synced to Maven central.
Publish Docker images
TODO: Move Docker publish script to main repo
Merge release into master
Merge the release branch into master.
During the last release (0.67.0) there where some merge conflict when merging the new release tag into master.
The following link helped to resolve the problems: https://stackoverflow.com/questions/173919/is-there-a-theirs-version-of-git-merge-s-ours
I also had similar problems during the 0.68.0 release and did the following:
Pull master & release branch
git checkout release/0.68.0
git merge master -s ours
git checkout master
git merge release/0.68.0
For release 0.69.0 I used the following commands:
git checkout release/0.69.0
git merge master -s ours
git checkout master
git merge #commit_ID_of_the_last_commit
Update website and docs
Clone the incubator-streampipes-website project and checkout the dev branch.
First, change the download link to the new release version:
# In website/partials/_download_box.ejs, change the links: https://www.apache.org/dyn/closer.lua?action=download&filename=incubator/streampipes/0.69.0/apache-streampipes-0.69.0-incubating-source-release.zip # Update also the links to pgp and sha files
In the documentation, also update the installation guide and other files that link to outdated versions. Commit all changes to dev.
Now we can release a new docs version.
# in documentation/website, run the following command: npm run ds-version NEW_VERSION #eg: npm run ds-version 0.68.0
Add version to DOAP file
Update website and docs
Cleaning up older versions
As a lot of mirrors are serving our releases, it is the Apache policy to clean old releases from the repo if newer versions are released.
# Core svn delete https://dist.apache.org/repos/dist/release/incubator/streampipes/0.69.0/ -m "Delete version 0.69.0"
Send Announce mail