You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,11 @@
5
5
>- Prior authorization must be given by a maintainer of the crate
6
6
7
7
## Release
8
+
9
+
In the main directory, use the the following steps to publish to [hedera](https://crates.io/crates/hedera):
10
+
8
11
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.
10
13
>-`cargo test`
11
14
3. Change the version number in *Cargo.toml*.
12
15
>-`version = major.minor.patch`
@@ -15,7 +18,10 @@
15
18
>-`cargo publish --dry-run`
16
19
5. If all warnings and error are resolved, publish the newest version to *crates.io*.
17
20
>-`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