Commit d088f4d
committed
chore: sync Cargo.lock version in release.sh + catch up 0.13.0
release.sh was bumping Cargo.toml and pyproject.toml but never touching
Cargo.lock, so every release left the committed lockfile one version
behind (e.g. after v0.13.0, Cargo.lock still listed pg0 as 0.12.3).
The release CI was rewriting it during build, but that contradicts the
"commit Cargo.lock for reproducible builds" policy from 28c51ec.
Add `cargo update -p pg0 --offline` to the release script between the
Cargo.toml bump and the pyproject.toml bump. --offline keeps the
operation hermetic (no network, no build.rs) and only touches the pg0
entry in the lockfile. Also stage Cargo.lock in the resulting commit.
Also include the one-line Cargo.lock fix-up for 0.13.0 so main is no
longer out of sync.1 parent 8b98408 commit d088f4d
2 files changed
Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
121 | 126 | | |
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
127 | | - | |
| 132 | + | |
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
| |||
0 commit comments