Release a tool by creating and pushing a version tag
Release a tool by creating and pushing a version tag.
/release <tool-name>
/release <tool-name> --version <version>
When the user invokes this skill with a tool name:
--version is provided:Skip change analysis and use the specified version directly:
bin/ directory<tool-name>: bump version to <version><tool-name>-v<version>--version is NOT provided:bin/ directorybin/<tool-name> --version and parsing the version number
--version is not supported, follow the "Missing Version Support" section below<tool-name>-v*git diff <last-tag>..HEAD -- bin/<tool-name> to see what changed<tool-name>: bump version to <version><tool-name>-v<version> (e.g., ascii-banner-v1.0.0)/release ascii-banner
This will:
bin/ascii-banner --version to get "ascii-banner 1.0.0"ascii-banner-v1.0.0git diff ascii-banner-v1.0.0..HEAD -- bin/ascii-banner to see changes--color flag. This is a new feature, so I recommend a minor bump to 1.1.0"ascii-banner-v<new-version>/release ascii-banner --version 2.0.0
This will:
ascii-banner-v2.0.0No change analysis is performed when --version is specified.
When analyzing the diff, look for these patterns:
--verbose → --debug)If the tool doesn't respond to --version:
1.0.0 for initial release (or 0.1.0 if the tool is experimental)--version flag to the toolIf this is the first release (no previous tag exists for this tool):