mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Auto merge of #13302 - Veykril:auto-publish, r=Veykril
Don't auto-publish lib crates I believe this should *just* work? With this cargo-workspaces should not consider them
This commit is contained in:
commit
f0797929e5
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -50,5 +50,7 @@ jobs:
|
|||||||
cargo workspaces rename --from test-utils test_utils
|
cargo workspaces rename --from test-utils test_utils
|
||||||
cargo workspaces rename --from text-edit text_edit
|
cargo workspaces rename --from text-edit text_edit
|
||||||
cargo workspaces rename ra_ap_%n
|
cargo workspaces rename ra_ap_%n
|
||||||
|
# Remove library crates from the workspaces so we don't auto-publish them as well
|
||||||
|
sed -i 's/ "lib\/\*",//' ./Cargo.toml
|
||||||
find crates/rust-analyzer -type f -name '*.rs' -exec sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' {} +
|
find crates/rust-analyzer -type f -name '*.rs' -exec sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' {} +
|
||||||
cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH
|
cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH
|
||||||
|
Loading…
Reference in New Issue
Block a user