Skip to content

Commit fc16303

Browse files
docs: update release procedure with explicit git tag and sync commands (#51)
Signed-off-by: PythonWoods <gianluca.catalano@gmail.com>
1 parent 380829f commit fc16303

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

RELEASE.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,18 @@ Before tagging, every item must be green:
2424
## Bump & Publish
2525

2626
```bash
27-
# Bumps version and updates changelog:
27+
# 1. Merge the PR and switch to main
28+
git checkout main
29+
git pull origin main
30+
31+
# 2. Bump version and update changelog
2832
just release <patch|minor|major>
2933

34+
# 3. Create the release tag and push
35+
git tag v2.4.0
3036
git push && git push --tags
3137

32-
# Move the floating v2 tag to the new release:
38+
# 4. Move the floating v2 tag to the new release:
3339
git tag -fa v2 v2.4.0^{} -m "release: v2.4.0"
3440
git push origin v2 --force-with-lease
3541

0 commit comments

Comments
 (0)