| 1 | {/* AUTO-GENERATED — do not edit. Synced by scripts/sync-developer-docs.mjs from docs/development.md (smbcloud-cli, main). */} |
| 2 | |
| 3 | # ADR |
| 4 | |
| 5 | import { Callout } from 'nextra/components' |
| 6 | |
| 7 | <Callout type="info"> |
| 8 | Synced from [`docs/development.md`](https://github.com/smbcloudXYZ/smbcloud-cli/blob/main/docs/development.md) on the `main` branch of |
| 9 | [smbcloud-cli](https://github.com/smbcloudXYZ/smbcloud-cli). Edit it there. |
| 10 | </Callout> |
| 11 | |
| 12 | This repo uses [Architecture Decision Record](https://github.com/joelparkerhenderson/architecture-decision-record) in the `adr` folder. |
| 13 | |
| 14 | # Publish Update |
| 15 | |
| 16 | There's no GitHub action to automatically publish the package for now. Publishing task can also be done locally. |
| 17 | |
| 18 | To update the crate in the [crate.io](https://crate.io), use [cargo workspaces](https://github.com/pksunkara/cargo-workspaces) subcommand. |
| 19 | |
| 20 | Steps to publish new package: |
| 21 | |
| 22 | ```bash |
| 23 | $ cargo workspaces publish --publish-as-is |
| 24 | ``` |
| 25 | |
| 26 | It will ask whether should bump the vesions of the packages or not. To update version separately: |
| 27 | |
| 28 | ```bash |
| 29 | $ cargo workspaces version |
| 30 | ``` |