Skip to content

Commit

Permalink
update how to for new rust instruction #no_auto_pr (#1390)
Browse files Browse the repository at this point in the history
# 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)
  • Loading branch information
pcrumley committed Dec 13, 2023
1 parent 79884c6 commit e149901
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,31 +324,31 @@ cargo install cargo-release
make dist-rust
```

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

```
cargo release --package sbp <INCREMENTED_TAG>
cargo release --exclude sbp2json <INCREMENTED_TAG>
```

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

```
cargo release --package sbp <INCREMENTED_TAG> --execute
cargo release --exclude sbp2json <INCREMENTED_TAG> --execute
```

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

```
cargo release --package sbp2json <INCREMENTED_TAG>
cargo release --exclude sbp <INCREMENTED_TAG>
```

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

```
git checkout .
cargo release --package sbp2json <INCREMENTED_TAG> --execute
cargo release --exclude sbp <INCREMENTED_TAG> --execute
```

Then rollback any commits that are created:
Expand Down

0 comments on commit e149901

Please sign in to comment.