Thanks, Jendrik. However, we were able to replace the Python scripts by a few
lines of Bash (replacing ~200 lines of Python by <20 lines of Bash). I
simplified the workflow by automating some additional steps in two scripts. The
new workflow with these scripts would be:
1. Update to the revision you want to release
2. "./misc/release/prepare-release.sh 19.06.0" to create tags and recipe files
3. Verify all changes locally
4. "hg push" in the Fast Downward repository to push the tags
5. "misc/release/push-docker.sh 19.06" to push the docker images
6. "git push" in the repository containing the container recipe files
7. Create wiki page
8. Send announcement email
(I removed steps 2 and 3 from
http://www.fast-downward.org/ForDevelopers/ReleaseWorkflow because Malte
suggested to keep the Changelog up to date while working on the planner instead
of creating it when doing a release.)
The first script (prepare-release.sh) commits to the repositories but does not
push anything, so if there are any problems, we can still strip the new
revisions and try again. The second script (push-docker.sh) will build the
docker image, push it, and clean up temporary files. It will prompt the user for
credentials to dockerhub to do this (same as in step 11 of the old workflow).
Can someone review these changes?
|