[ 03 ]Commands
copia-cli release edit¶
copia-cli release edit <tag> [flags]
Edit a release of a Copia repository.
Only the properties given as flags change. --notes-file reads the notes from a file; "-" reads standard input. Copia cannot clear a release's title or notes, so an empty value is refused. On success the release URL is printed.
Options¶
--draft- Save the release as a draft instead of publishing it
-n,--notes <string>- Release notes
-F,--notes-file <file>- Read release notes from file (use "-" to read from standard input)
--prerelease- Mark the release as a prerelease
--tag <string>- The name of the tag
--target <branch>- Target branch or full commit SHA
-t,--title <string>- Release title
Options inherited from parent commands¶
--host <string>- Target Copia host
-R,--repo <string>- Select repository (owner/repo)
--token <string>- Authentication token
Examples¶
# Publish a release that was previously a draft
$ copia-cli release edit v1.0 --draft=false
# Update the release notes from the content of a file
$ copia-cli release edit v1.0 \
--notes-file /path/to/release_notes.md