Commit 8d4a28a
authored
Sync Cargo.lock before
The release for v0.1.1 was tagged with a Cargo.toml bumped to 0.1.1
but Cargo.lock still listing 0.1.0; `cargo build --locked` failed,
the Publish GitHub Release step was skipped, and the release was
created with no assets attached.
`scripts/release.sh` regenerates Cargo.lock before the tag is
pushed, so the common path is already safe. This step adds a
fallback so a tag created without going through that script (or
where the lockfile drifted for any other reason) still produces
a release artifact instead of an empty release object.cargo build --locked in release workflow (#204)1 parent f529377 commit 8d4a28a
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
| |||
0 commit comments