Skip to content

Commit e149901

Browse files
authored
update how to for new rust instruction #no_auto_pr (#1390)
# Description @swift-nav/devinfra Updating the HowTo to handle the community distribution of all the packages so that the anyone can release it (with the proper creds)
1 parent 79884c6 commit e149901

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

HOWTO.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -324,31 +324,31 @@ cargo install cargo-release
324324
make dist-rust
325325
```
326326

327-
If that doesn't work (consider fixing the make target), otherwise try releasing
328-
`sbp` and `sbp2json` crates separately, first `sbp`, this will do a dry run
329-
first:
327+
If that doesn't work (**status** it don't work, consider fixing the make target),
328+
otherwise try releasing `sbp` and `sbp2json` crates separately, first `sbp`,
329+
this will do a dry run first:
330330

331331
```
332-
cargo release --package sbp <INCREMENTED_TAG>
332+
cargo release --exclude sbp2json <INCREMENTED_TAG>
333333
```
334334

335335
Then use `--execute` to actually run the release:
336336

337337
```
338-
cargo release --package sbp <INCREMENTED_TAG> --execute
338+
cargo release --exclude sbp2json <INCREMENTED_TAG> --execute
339339
```
340340

341341
Next, release `sbp2son`, first do a dry-run:
342342

343343
```
344-
cargo release --package sbp2json <INCREMENTED_TAG>
344+
cargo release --exclude sbp <INCREMENTED_TAG>
345345
```
346346

347347
Then, reset any modifications from the dry run, and then actually release `sbp2son`:
348348

349349
```
350350
git checkout .
351-
cargo release --package sbp2json <INCREMENTED_TAG> --execute
351+
cargo release --exclude sbp <INCREMENTED_TAG> --execute
352352
```
353353

354354
Then rollback any commits that are created:

0 commit comments

Comments
 (0)