Bump script for kcl crates (#5612)

* start of kcl-bumper

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* works!

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* add readme

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-03-03 14:03:18 -08:00
committed by GitHub
parent efe6565857
commit 6e57a80c13
8 changed files with 232 additions and 10 deletions

23
rust/README.md Normal file
View File

@ -0,0 +1,23 @@
# Rust Crates
### Releasing
1. Make sure your working directory is this directory.
1. Bump the versions of the crates:
```bash
just bump-kcl-crate-versions
```
3. Commit the changes:
```bash
git add .
git commit -m "Bump versions"
```
4. Push the changes and get your PR approved.
5. Publish the crates:
```bash
just publish-kcl {version}
```
- This will publish the relevant crates and push a new tag with the prefix
`kcl-`. DO NOT SET THE PREFIX TO `kcl-` when you run the command. The `just`
command will do that for you.
- The tag will then trigger the release of kcl-python-bindings.