You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scripts/release.sh does not bump Cargo.toml on macOS (BSD sed) #64
scripts/release.sh 0.1.0-rc.3 on macOS printed "Prepared 0.1.0-rc.2 -> 0.1.0-rc.3. Changed: Cargo.toml, Cargo.lock, CHANGELOG.md", but only CHANGELOG.md changed. Cargo.toml stayed at 0.1.0-rc.2.
Cause: line 22 uses the GNU-only 0,/re/ address (sed -i.bak "0,/^version = .../s//.../"). BSD sed on macOS doesn't support it, and the error is swallowed, so the script reports success.
Expected: the bump works on macOS and Linux (e.g. use awk or perl for the first version = line), and the script fails loudly if Cargo.toml didn't change.
Worked around for v0.1.0-rc.3 by bumping by hand in #63.
Activity