maton github release upload

maton github release upload <tag> <file>... [flags]

Upload one or more files as release assets. Use –asset-name to override the asset name when uploading exactly one file (otherwise the basename is used). With –clobber, an existing asset of the same name is removed before re-uploading.

Options

--asset-name <string>
Override the asset name (single-file uploads only)
--clobber
Replace existing assets of the same name
--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
--format <string>
Output format: 'json' (default) or 'text' on supported commands
-q, --jq <expression>
Filter JSON output using a jq expression
--label <string>
Asset label (display only)
--paginate
Follow next_cursor and concatenate all pages (list commands only)
-R, --repo <owner/repo>
Target repository in owner/repo form (required)
--template <string>
Format JSON output using a Go template; see "maton help formatting"

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton github release upload v1.0.0 ./dist/maton-darwin --repo maton-ai/cli
$ maton github release upload v1.0.0 ./dist/* --repo maton-ai/cli --clobber

See also