Skip to content

Commit a9c29a9

Browse files
committed
Auto merge of #15142 - davidlattimore:autopublish-no-rename-libs, r=lnicola
autopublish: Rename crates after removing libs from workspace
2 parents 8769cd2 + a92ec74 commit a9c29a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/autopublish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
cargo workspaces rename --from project-model project_model
5050
cargo workspaces rename --from test-utils test_utils
5151
cargo workspaces rename --from text-edit text_edit
52-
cargo workspaces rename ra_ap_%n
5352
# Remove library crates from the workspaces so we don't auto-publish them as well
5453
sed -i 's/ "lib\/\*",//' ./Cargo.toml
54+
cargo workspaces rename ra_ap_%n
5555
find crates/rust-analyzer -type f -name '*.rs' -exec sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' {} +
5656
cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$(($RUN_NUMBER + 133))

0 commit comments

Comments
 (0)