Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .claude/skills/cut-release/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: cut-release
description: Cut a new py-libtea release and write its release notes. Thin pointer to the org-wide sbomify release skill, plus the facts specific to this repo. Use whenever the user says "cut a release", "ship a release", "tag a release", "make a new release", or asks for release notes.
---

# Cut a release

The release process is shared by every repo in the `sbomify` org and lives in
one place: the **`sbomify-release`** skill, kept in the sbomify knowledge base
under `skills/release/` (`SKILL.md` for the process, `repos.md` for per-repo
profiles). Load and follow it. Do not copy its steps here: copies drift.

If the `sbomify-release` skill is not installed for you, ask a maintainer for
access rather than improvising a process.

## What is specific to this repo

The shared skill's `repos.md` has the full profile. The essentials:

- **Version:** CalVer `YY.MM.MICRO` is mandatory for every sbomify repo
([ADR-0002](https://github.com/sbomify/adr/blob/master/0002-adopt-calver-versioning.md)).
This repo is still on legacy `0.x` semver, so **the next release is the
migration**: it becomes `YY.MM.0` for the current month. Follow the shared
skill's "Migrating a legacy repo" section, including the Action required
line in the notes for users who pin `libtea~=0.5`.
- **Release PR** bumps `pyproject.toml` and the libtea entry in `uv.lock`
(via `uv lock`).
- **Tag `v<version>`** on the merge commit, after `master` CI is green. The
tag uploads this repo's SBOM (`.github/workflows/sbomify.yaml`).
- **Publishing the GitHub release uploads to PyPI**
(`.github/workflows/pypi.yaml`). Create the release as a draft, get the
notes right, then publish.
Loading