ente/cli/docs/release.md

27 lines
626 B
Markdown
Raw Normal View History

2024-03-07 07:23:12 +00:00
# Releasing
Tag main, and push the tag.
> [!NOTE]
>
> See [auth/docs/release](../../auth/docs/release.md) for more details about the
> tag format. The prefix for cli releases should be `cli-`.
2024-03-07 07:23:12 +00:00
```sh
git tag cli-v1.2.3
git push origin cli-v1.2.3
```
This'll trigger a [GitHub workflow](../../.github/workflows/cli-release.yml)
that creates a new draft GitHub release and attaches all the build artifacts to
it (zipped up binaries for various OS and architecture combinations).
## Local release builds
Run the release script to build the binaries for the various OS and architecture
cominations
```shell
./release.sh
```