src release upload
Upload a file as an asset to an existing release.
Usage
src release upload <tag> <file> [flags]
Examples
Upload a binary to a release
src release upload v1.0.0 ./dist/myapp-linux-amd64
Upload to a release in a specific repository
src release upload v1.0.0 ./build/artifact.tar.gz -R org/repo
Inherited flags
| Flag | Description |
|---|---|
--env string |
Override Sourcecraft environment (use 'src envs' to list available) |
--json string |
Output JSON, optionally filtered (--json or --json=field1,field2) |
--json-compact string |
Output compact JSON, optionally filtered |
--plain |
Output without colors/styling (for LLM consumption) |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src release upload <subcommand> --help for more information about a command.