From 2df3fcb0a4b3b491e6d39d9a550ba8d79d617443 Mon Sep 17 00:00:00 2001 From: Vincent Leroy Date: Sun, 25 Feb 2024 15:16:57 +0100 Subject: [PATCH] Add release instructions --- docs/src/contributing.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/docs/src/contributing.md b/docs/src/contributing.md index bc8ea4a..8ff043c 100644 --- a/docs/src/contributing.md +++ b/docs/src/contributing.md @@ -56,3 +56,38 @@ Incremental autobuild is also supported: ```bash make docs-serve ``` + +## Maintainers: release process + +**Pre-release steps** + +1. Make sure that all tests pass. +2. Make sure the change log is up-to-date. Add the release date to the relevant + section header. +3. Set the package version number to the target value: + + ```bash + rye version + ``` + +4. Create and push a commit with the following message: + `dessinemoi version `. + +**Release steps** + +1. Create a [new release on GitHub](https://github.com/rayference/dessinemoi/releases>). +2. When asked for a tag, create a new one (`v`). +3. The automated workflow will build the package and upload it to PyPI. + +**Post-release steps** + +1. Create a new section in the change log (`whats_new.md`) with the title + *Dessine-moi (upcoming release)*. +2. Bump the version to the next development one: + + ```bash + rye version .dev + ``` + +3. Create and push a commit with the following message: + `Version ready for development`.