Only keep lib/ in publish-libs

This commit is contained in:
Laurențiu Nicola 2024-08-12 13:45:38 +03:00
parent 59c6eae5cc
commit c875467c6c

View file

@ -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