Skip to content

Commit a2b10a3

Browse files
committed
Auto merge of rust-lang#17862 - lnicola:publish-libs-members, r=lnicola
Only keep lib/ in publish-libs Follow-up to rust-lang#17860, see https://github.com/rust-lang/rust-analyzer/actions/runs/10350212090/job/28646162590.
2 parents 5e753ff + 696ecea commit a2b10a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/tools/rust-analyzer/.github/workflows/publish-libs.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
run: |
3131
git config --global user.email "runner@gha.local"
3232
git config --global user.name "GitHub Action"
33-
# Remove r-a crates from the workspaces so we don't auto-publish them as well
34-
sed -i 's/"crates\/\*"//' ./Cargo.toml
35-
sed -i 's/"xtask\/"//' ./Cargo.toml
33+
# Only publish the crates under lib/
34+
sed -i 's|^members = .*$|members = ["lib/*"]|' Cargo.toml
3635
cargo workspaces publish --yes --exact --from-git --no-git-commit --allow-dirty

0 commit comments

Comments
 (0)