mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-26 02:55:19 +03:00
75c228f4e1
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.
30 lines
446 B
Markdown
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
|
|
```
|