feat(script): add easy script to release

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
Aaron committed 2023-06-08 17:52:39 -04:00
1 parent f284c64370
commit f5edd4fcf4
5 files changed
+76 -11

No files matched your search

+3 -9
View File
@@ -137,17 +137,11 @@ hatch run test
## Releasing a New Version
To release a new version, use `gh workflow run`:
To release a new version, use `./tools/run-release-action`. It requires `gh`,
`jq` and `hatch`:
```bash
gh workflow run create-releases.yml
```
After the release CI finishes, then run the following:
```bash
git pull --rebase
gh workflow run release-notes.yml --ref "v$(hatch version)"
./tools/run-release-action
```
> Note that currently this workflow can only be run by the BentoML team.