Skip to content

Commit 9569e2c

Browse files
hyochanclaude
andcommitted
docs: add /release skill for automated releases
Co-Authored-By: Claude <[email protected]>
1 parent 0dd80ce commit 9569e2c

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

CLAUDE.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,41 @@ For new feature proposals:
140140
2. Get community feedback and consensus
141141
3. Ensure alignment with OpenIAP standards
142142
4. Implement following the agreed specification
143+
144+
## Skills
145+
146+
### /release
147+
148+
Create a new release for flutter_inapp_purchase package.
149+
150+
**Arguments**: `VERSION` - Version number (e.g., `8.2.5`)
151+
152+
**Workflow**:
153+
154+
1. Ensure on main branch with latest code
155+
```bash
156+
git checkout main && git fetch origin && git reset --hard origin/main
157+
```
158+
159+
2. Update CHANGELOG.md
160+
- Add new version section at the top
161+
- Include New Features, Breaking Changes, Dependencies as applicable
162+
- Keep entries concise
163+
164+
3. Update pubspec.yaml version field
165+
166+
4. Commit and push
167+
```bash
168+
git add CHANGELOG.md pubspec.yaml
169+
git commit -m "chore: bump version to VERSION
170+
171+
Co-Authored-By: Claude <[email protected]>"
172+
git push
173+
```
174+
175+
5. Create GitHub release
176+
```bash
177+
gh release create VERSION --title "VERSION" --notes "RELEASE_NOTES"
178+
```
179+
180+
**Example**: `/release 8.2.6`

0 commit comments

Comments
 (0)