Skip to content

Commit

Permalink
Auto merge of #15142 - davidlattimore:autopublish-no-rename-libs, r=l…
Browse files Browse the repository at this point in the history
…nicola

autopublish: Rename crates after removing libs from workspace
  • Loading branch information
bors committed Jun 27, 2023
2 parents 8769cd2 + a92ec74 commit a9c29a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/autopublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
cargo workspaces rename --from project-model project_model
cargo workspaces rename --from test-utils test_utils
cargo workspaces rename --from text-edit text_edit
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
cargo workspaces rename ra_ap_%n
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.$(($RUN_NUMBER + 133))

0 comments on commit a9c29a9

Please sign in to comment.