From fd57055b46d7a874b2f2ba4ff929f4684a06524f Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Tue, 21 Sep 2021 12:21:46 +0200 Subject: [PATCH] chore: update the release template --- .github/ISSUE_TEMPLATE/release.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/release.md b/.github/ISSUE_TEMPLATE/release.md index 9224e76c4..7ddce8251 100644 --- a/.github/ISSUE_TEMPLATE/release.md +++ b/.github/ISSUE_TEMPLATE/release.md @@ -2,15 +2,31 @@ name: Release about: Issue template to prepare a release step by step. title: "Release vX.Y.Z (or vX.Y.Zrc?)" +labels: "release" --- +Please check all steps if it was either done/already done, at the end of a release all check boxes must have been checked. + Release check-list: +If it was not already done: - [ ] Choose the version number, e.g. `vX.Y.Z` (can be `vX.Y.Zrc?` for Release Candidates) following semantic versioning: https://semver.org/ - [ ] Update the version in pyproject.toml to `X.Y.Z` (or `X.Y.Zrc?`) -- [ ] Check the release milestone issues, cut out what can't be completed in time + +Then: +- [ ] For non RC releases: check the release milestone issues, cut out what can't be completed in time and change the milestones for these issues - [ ] Checkout the commit for release, create a signed tag (requires GPG keys setup, see [here](https://docs.github.com/en/github/authenticating-to-github/managing-commit-signature-verification)) with the version name (careful for RC) `git tag -s -a -m "vX.Y.Z release" vX.Y.Z`, (or `vX.Y.Zrc?`) push it to GitHub with `git push origin refs/tags/vX.Y.Z` (or `vX.Y.Zrc?`) - [ ] Wait for the release workflow to finish and get the image url from the notification or the logs -- [ ] See [here](https://docs.github.com/en/github/administering-a-repository/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release) to create the release in GitHub using the existing tag, add the pull link copied from the step before \(`ghcr.io/zama-ai/concretefhe:vX.Y.Z`\) (or `vX.Y.Zrc?`) for the uploaded docker image +- [ ] See [here](https://docs.github.com/en/github/administering-a-repository/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release) to create the release in GitHub using the existing tag, add the pull link copied from the step before \(`ghcr.io/zama-ai/concretefhe:vX.Y.Z`\) (or `vX.Y.Zrc?`) for the uploaded docker image. Mark release as pre-release for an `rc` version. See template below: + +This is the release markdown template you should copy and update: +``` +**Docker Image:** ghcr.io/zama-ai/concretefhe:vX.Y.Z +**Documentation:** https://docs.zama.ai/concrete +``` + +To continue the release cycle: +- [ ] Choose the version number for next release, e.g. `vA.B.C` (can be `vA.B.Crc?` for Release Candidates) following semantic versioning: https://semver.org/ +- [ ] Update the version in pyproject.toml to `A.B.C` (or `A.B.Crc?`) All done!