Skip to content

Commit 9a5c53a

Browse files
authored
Update release docs (#934)
Signed-off-by: Ricky Saechao <[email protected]>
1 parent 251e653 commit 9a5c53a

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

RELEASE.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
>- Prior authorization must be given by a maintainer of the crate
66
77
## Release
8+
9+
In the main directory, use the the following steps to publish to [hedera](https://crates.io/crates/hedera):
10+
811
1. Create a new git branch: `release/vX.Y.Z`.
9-
2. Run all tests against [hedera-local-node](https://github.com/hashgraph/hedera-local-node). Stop local-node once the tests are completed.
12+
2. Run all tests against [hiero-local-node](https://github.com/hiero-ledger/hiero-local-node). Stop local-node once the tests are completed.
1013
>- `cargo test`
1114
3. Change the version number in *Cargo.toml*.
1215
>- `version = major.minor.patch`
@@ -15,7 +18,10 @@
1518
>- `cargo publish --dry-run`
1619
5. If all warnings and error are resolved, publish the newest version to *crates.io*.
1720
>- `cargo publish`
18-
6. Create a new tag.
19-
>- `git push -a <version> -m <version>`
20-
7. Once branch has been approved and merged to main, document added features pertaining to the newest release.
21-
>- [Tags and Releases for Rust SDK](https://github.com/hashgraph/hedera-sdk-rust/releases)
21+
6. Once branch has been approved and merged to main, document added features pertaining to the newest release.
22+
7. Create the new tag in Github `vX.Y.Z`
23+
>- [Tags and Releases for Rust SDK](https://github.com/hiero-ledger/hiero-sdk-rust/releases)
24+
25+
**Note**
26+
- If there are new local changes to [`hedera-proto`](https://crates.io/crates/hedera-proto) crate, this must be published before `hedera` crate is published for each release.
27+
Cargo will prevent publishing if this is the case.

0 commit comments

Comments
 (0)