-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# deploy creates | ||
|
||
This document is about how to publish the micro-http workspaces to the creates.io. | ||
|
||
## Check cargo-workspaces | ||
|
||
First you need to install cargo-workspaces if it's not installed on your machine. | ||
|
||
Check from [github](https://github.com/pksunkara/cargo-workspaces) or [crates.io](https://crates.io/crates/cargo-workspaces) | ||
|
||
### Check cargo-workspaces in the path | ||
```bash | ||
cargo ws version | ||
``` | ||
If not in the path, install cargo-workspaces | ||
|
||
```bash | ||
cargo install cargo-workspaces | ||
``` | ||
|
||
## Run Tests | ||
|
||
Make sure `cargo test` passed, and workspaces is clean (no git dirty files) | ||
|
||
## Dry run | ||
|
||
```bash | ||
cargo ws publish --exact --no-git-push --no-individual-tags --dry-run custom ${newVersion} | ||
``` | ||
|
||
## Publish | ||
|
||
cargo ws publish --exact --no-individual-tags custom ${newVersion} | ||
|
||
|
||
|