Skip to content

Commit e8dd064

Browse files
committed
Add prepare-release codex skill
Introduce .codex/skills/prepare-release/SKILL.md documenting a prepare-release workflow for serious_python. The file lists required inputs and step-by-step actions to bump package versions (pubspecs, podspec, Android build.gradle), run pub get for example apps, and add changelog entries from git history while excluding trivial/chore/duplicate items.
1 parent 7dd0893 commit e8dd064

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: prepare-release
3+
description: Use when asked to prepare new serious_python release by bumping versions and author release notes.
4+
---
5+
6+
## Inputs
7+
8+
* Previous serious_python version from repo tags.
9+
* Whether it's minor or major release.
10+
11+
## Steps
12+
13+
* Take latest serious_python release version from the repo and
14+
increment third (patch) digit to get the next version if it's a minor release
15+
or second (minor) digit if it's a major release.
16+
* Set new version in pubspec.yaml of all packages in /src.
17+
* Set new s.version in src/serious_python_darwin/darwin/serious_python_darwin.podspec.
18+
* Set new version in src/serious_python_android/android/build.gradle.
19+
* Run pub get for all apps in src/serious_python/example to refresh their pubspec.lock with new version.
20+
* Add a new entry into all packages' CHANGELOG.md from a git log since the last release. Do not add chore/trivial/duplicate items, add items with related issue or PR.

0 commit comments

Comments
 (0)