src release create
Create Release in Repository
Usage
src release create [flags]
Examples
Create release for current repo
src release create --tag v1.0.0 --title "Release v1.0.0"
Create release for a repo
src release create -R myorg/myrepo --tag v1.0.0 --title "Release v1.0.0"
Create and publish immediately
src release create -R myorg/myrepo --tag v1.0.0 --title "Release v1.0.0" --publish
Flags
| Flag | Description |
|---|---|
-w, --web |
Open in browser after completion |
--tag string |
|
--target-branch string |
If provided, tag creation will be attempted on publish; will fail on existing tag |
--title string |
|
--release-notes string |
|
--publish |
Determines whether the release is to be created as draft or published immedieately |
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 create <subcommand> --help for more information about a command.