unison/unison-src/transcripts/release-draft-command.md
Greg Pfeil 75c228f4e1
Use CommonMark-compatible info strings everywhere
The bulk of this updates transcripts to put spaces around the language
name in code blocks. E.g.,
```` markdown
```ucm:hide
````
becomes
```` markdown
``` ucm :hide
````

This corresponds to
https://share.unison-lang.org/@unison/website/contributions/11, which
updates the docs in the same way.

This is effectively a fix for #5214, but that issue also has good recommendations for future changes to info strings, so
I don’t know that it should be closed.
2024-10-08 14:23:34 -06:00

30 lines
446 B
Markdown

The `release.draft` command drafts a release from the current branch.
``` ucm :hide
foo/main> builtins.merge
```
Some setup:
``` unison
someterm = 18
```
``` ucm
foo/main> add
```
Now, the `release.draft` demo:
`release.draft` accepts a single semver argument.
``` ucm
foo/main> release.draft 1.2.3
```
It's an error to try to create a `releases/drafts/x.y.z` branch that already exists.
``` ucm :error
foo/main> release.draft 1.2.3
```