@@ -26,7 +26,7 @@ This repository includes automated GitHub Actions workflows for the Rust SDK loc
2626
2727** Triggers:**
2828- New GitHub releases
29- - Tags matching pattern ` rust- v* ` (e.g., ` rust- v0.1.0 ` , ` rust- v1.2.0 ` )
29+ - Tags matching pattern ` sdk/ rust/ v*` (e.g., ` sdk/ rust/ v0.1.0` , ` sdk/ rust/ v1.2.0` )
3030
3131** What it does:**
3232- Validates code quality (formatting, building, testing)
@@ -40,7 +40,7 @@ This repository includes automated GitHub Actions workflows for the Rust SDK loc
4040
4141To enable automatic publishing, you need to configure:
4242
43- 1 . ** ` CRATES_TOKEN ` ** - Your crates.io API token
43+ 1 . ** ` CARGO_API_KEY ` ** - Your crates.io API token
4444 - Go to [ crates.io/me] ( https://crates.io/me )
4545 - Generate a new token with publish permissions
4646 - Add as repository secret in GitHub Settings → Secrets and variables → Actions
@@ -52,10 +52,10 @@ To enable automatic publishing, you need to configure:
52521 . ** For releases:**
5353 ``` bash
5454 # Create and push a new tag
55- git tag rust- v0.1.1
56- git push origin rust- v0.1.1
55+ git tag sdk/ rust/ v0.1.1
56+ git push origin sdk/ rust/ v0.1.1
5757
58- # Or create a GitHub release with tag rust- v0.1.1
58+ # Or create a GitHub release with tag sdk/ rust/ v0.1.1
5959 ```
6060
61612 . ** For GitHub releases:**
@@ -68,7 +68,7 @@ For development or testing:
6868
6969``` bash
7070cd rust
71- export CRATES_TOKEN =your_token_here
71+ export CARGO_API_KEY =your_token_here
7272cargo publish
7373```
7474
@@ -136,7 +136,7 @@ cargo package --allow-dirty
136136 - Ensure dependencies are properly feature-gated
137137
1381383 . ** Publishing failures:**
139- - Verify ` CRATES_TOKEN ` secret is configured
139+ - Verify ` CARGO_API_KEY ` secret is configured
140140 - Check that version in ` Cargo.toml ` hasn't been published before
141141 - Ensure all required metadata is present in ` Cargo.toml `
142142
@@ -156,5 +156,5 @@ The SDK uses semantic versioning:
156156When publishing:
1571571 . Update version in ` rust/Cargo.toml `
1581582 . Update documentation if needed
159- 3 . Create tag with format ` rust- vX.Y.Z `
159+ 3 . Create tag with format ` sdk/ rust/ vX.Y.Z`
1601604 . Push tag to trigger publishing workflow
0 commit comments