check-exists
release check-exists - Check if a release/tag already exists
Checks GitHub for an existing release with the given tag.
Exit codes: 0 - Release does NOT exist (safe to create) 1 - Release EXISTS or error
Output formats: default: Human readable message --format shell: EXISTS="true" TAG="..." ERROR="..."
Flags
| Flag | Description |
|---|---|
--tag |
Tag name to check (required) |
--format |
Output format (default, shell) |
Examples
release check-exists --tag r2r-cli/1.0.0
eval $(release check-exists --tag r2r-cli/1.0.0 --format shell)
See Also
Tutorials | How-to Guides | Explanation | Reference
You are here: Reference — information-oriented technical descriptions of the system.