Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ jobs:
run: |
set -euo pipefail
perl -0pi -e 's/(\[workspace\.package\][\s\S]*?\nversion = ")[^"]+(")/$1$ENV{NEXT_VERSION}$2/' Cargo.toml
# The library and its TinyBus contract ship from the same source tag.
# Raise the package dependency floor with that tag so packaged
# consumers cannot resolve an older contract without the new API.
perl -0pi -e 's/(tinydocs-bus = \{ version = ")[^"]+("[,}])/$1$ENV{NEXT_VERSION}$2/' Cargo.toml
grep -Fq "tinydocs-bus = { version = \"$NEXT_VERSION\", path = \"crates/tinydocs-bus\" }" Cargo.toml
cargo update -p tinydocs-bus --precise "$NEXT_VERSION"
cargo update -p "$CRATE_NAME" --precise "$NEXT_VERSION"

Expand Down
Loading
Loading