Mark a version as released.
Arguments
$ARGUMENTS - Version name to release (e.g., "v0.2.0"). If blank, releases the "now" version.
Steps
- •
Get the project for the current working directory:
- •Call
list_projectswithdirectory_pathset to the current working directory - •If no project found, tell the user to run
/manifest:initfirst
- •Call
- •
Get versions:
- •Call
list_versionswith the project ID
- •Call
- •
Find the version to release:
If $ARGUMENTS is provided:
- •Find the version matching the name
- •If not found, list available versions
If $ARGUMENTS is blank:
- •Use the "now" version (first unreleased)
- •If no unreleased versions, tell the user
- •
Show version status:
codeReleasing: [version name] Features in this version: - [Feature 1] (● implemented) - [Feature 2] (● implemented) - [Feature 3] (○ in_progress) ⚠️ [N] features implemented, [M] still in progress.
- •
Confirm if there are incomplete features:
code⚠️ Some features are not yet implemented. Release anyway?
- •
Release the version:
- •Call
release_versionwith the version ID
- •Call
- •
Display result:
codeReleased: [version name] [Next version name] is now the current focus ("now").