my library release
my library release [tag]Publishes a versioned release of a library from a git tag. This makes the release available for others to install from the registry. All libraries in the manifest are released under the same tag.
Three usage modes:
- Interactive (no argument) — detects the latest semver tag and prompts you to pick a patch, minor, or major bump. Creates the tag at HEAD.
- New tag (tag doesn’t exist) — creates the tag at HEAD and publishes.
- Existing tag — publishes from the existing tag.
Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
tag | Git tag to release (optional — omit for interactive prompt) |
| Flag | Description |
|---|---|
--push | Push the created tag to origin after releasing |
--dry-run | Preview what would happen without making changes |
Examples
Section titled “Examples”# Interactive — prompts for version bumpmy library release
# Create a new tag and releasemy library release v1.2.0
# Release from an existing tagmy library release v1.0.0
# Release and push the tag to originmy library release v1.2.0 --push
# Preview without making changesmy library release --dry-runRequires
Section titled “Requires”Authentication — you must be logged in via my cli login.