# Release

> Guide the release procedure for namingpaper - version bump, commit, GitHub release, and PyPI publish. Use when this capability is needed.

- Skill: `tomevault-io/release-62` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/release-62`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/release-62/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/release-62

---


# Release Procedure

Follow these steps to release a new version of namingpaper. The user should provide the version number (X.Y.Z).

## Steps

1. **Bump version** in both `pyproject.toml` and `src/namingpaper/__init__.py`
2. **Commit and push**: `git add -A && git commit -m "Bump version to X.Y.Z" && git push origin main`
3. **Create GitHub release**: `gh release create vX.Y.Z --title "vX.Y.Z" --prerelease --notes "..."`
   - Drop `--prerelease` for stable releases
4. **Build and publish to PyPI**:
   ```bash
   uv build
   source .env  # contains UV_PUBLISH_TOKEN
   uv publish --token "$UV_PUBLISH_TOKEN"
   ```
5. **Clean old dists** if needed: `rm -rf dist/` before building to avoid uploading stale files

## Important

- Always confirm the version number with the user before starting.
- Ask whether this is a stable or prerelease before creating the GitHub release.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/dantsai0903) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

