mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Only keep lib/ in publish-libs
This commit is contained in:
parent
59c6eae5cc
commit
c875467c6c
1 changed files with 2 additions and 3 deletions
5
.github/workflows/publish-libs.yaml
vendored
5
.github/workflows/publish-libs.yaml
vendored
|
@ -30,7 +30,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "runner@gha.local"
|
git config --global user.email "runner@gha.local"
|
||||||
git config --global user.name "GitHub Action"
|
git config --global user.name "GitHub Action"
|
||||||
# Remove r-a crates from the workspaces so we don't auto-publish them as well
|
# Only publish the crates under lib/
|
||||||
sed -i 's/"crates\/\*"//' ./Cargo.toml
|
sed -i 's|^members = .*$|members = ["lib/*"]|' Cargo.toml
|
||||||
sed -i 's/"xtask\/"//' ./Cargo.toml
|
|
||||||
cargo workspaces publish --yes --exact --from-git --no-git-commit --allow-dirty
|
cargo workspaces publish --yes --exact --from-git --no-git-commit --allow-dirty
|
||||||
|
|
Loading…
Reference in a new issue