Skip to content

Commit 2988d75

Browse files
committed
docs: update release links in README, add a release checklist, based on Zahary's feedback
1 parent 67778a0 commit 2988d75

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
[![CI Status](https://github.com/metacraft-labs/codetracer/actions/workflows/codetracer.yml/badge.svg?branch=main)](https://github.com/metacraft-labs/codetracer/actions/workflows/codetracer.yml)
33
[![Discord](https://img.shields.io/discord/1326949714679038014?label=Discord&logo=discord&style=flat)](https://discord.gg/aH5WTMnKHT)
44

5-
[![Download AppImage](https://img.shields.io/badge/Download-Linux%20AppImage-blue?style=for-the-badge)](https://downloads.codetracer.com/CodeTracer-25.03.1-amd64.AppImage)
6-
[![Download macOS](https://img.shields.io/badge/Download-macOS-blue?style=for-the-badge)](https://downloads.codetracer.com/CodeTracer-25.03.1-arm64.dmg)
5+
[![Download AppImage](https://img.shields.io/badge/Download-Linux%20AppImage-blue?style=for-the-badge)](https://downloads.codetracer.com/CodeTracer-25.03.2-amd64.AppImage)
6+
[![Download macOS](https://img.shields.io/badge/Download-macOS-blue?style=for-the-badge)](https://downloads.codetracer.com/CodeTracer-25.03.2-arm64.dmg)
77

88
> [!TIP]
99
> You can place the downloaded app in a location of your choosing (e.g., the `Applications` folder on macOS or `~/.local/share/applications` on Linux).

release_checklist.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## release checklist
2+
3+
### local changes/PR/testing the artifacts
4+
5+
* update CHANGELOG.md with the new features, fixes, improvements and notes
6+
* don't write release notes for unfinished or non-documented features(except in special cases)
7+
* update version.nim with the new version, following [calendar versioning](https://calver.org/): `YY.OM.<build>`:
8+
e.g. the first build for a month can be `25.03.1`, the next one `25.03.2` etc
9+
* open a pull request with the changes and push a test tag, e.g. `YY.OM.<build>-test` (DON'T push the final release tag for now)
10+
* check if CI builds and upload correctly the artifacts, if possible test the artifacts: if needed, one can
11+
fix/change things and push again(you can force push both the code and the test tag: `git push --force --tags`, or delete remotely and push the tag again)
12+
* when it's all tested or ready, you can delete the test tag(locally and remotely), and merge(by rebase) the PR from the GitHub interface,
13+
and then you can pull `main` locally, tag the new last commit in `main` with the real version (`YY.OM.<build>`) and push the tag
14+
15+
### making the GitHub release
16+
17+
* go to https://github.com/metacraft-labs/codetracer/releases/ and click `Draft a new release`. you can save the release as a draft and edit it multiple times before publishing, be careful and publish it only when ready, as it seems that GitHub sends an email with the release text to the subscribers! Be careful, as the default action/shortcut seems to point to `Publish release`, explicitly save using `Save draft`, unless you're ready to publish!
18+
19+
* copy the changelog to the release notes, eventually with some additional screenshots and with adding buttons for downloading the artifacts, similar to:
20+
21+
```markdown
22+
# FIX the versions in the urls! Use the same version as the new release tag
23+
[![Download AppImage](https://img.shields.io/badge/Download-Linux%20AppImage-blue?style=for-the-badge)](https://downloads.codetracer.com/CodeTracer-25.03.1-amd64.AppImage)
24+
[![Download macOS](https://img.shields.io/badge/Download-macOS-blue?style=for-the-badge)](https://downloads.codetracer.com/CodeTracer-25.03.1-arm64.dmg)
25+
```
26+
27+
* activate the option to make a GitHub discussion for the release, when publishing and publish!
28+
29+
* publish in OpenCollective news for the release
30+

0 commit comments

Comments
 (0)