From ac07ea026f7ef695abecffddca1a2cd4db5f271a Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Tue, 14 Jan 2025 13:51:14 -0500 Subject: [PATCH] fix cargo publishing --- .github/workflows/cd.crates.yml | 3 +-- crates/cli/Cargo.toml | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.crates.yml b/.github/workflows/cd.crates.yml index 79c9386a..ac483ce7 100644 --- a/.github/workflows/cd.crates.yml +++ b/.github/workflows/cd.crates.yml @@ -23,6 +23,5 @@ jobs: - uses: dtolnay/rust-toolchain@stable - uses: katyo/publish-crates@v2 with: - # TODO: remove --package to publish libpkgx as well - args: --package pkgx --all-features + args: --all-features registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index ff3b6db7..5731a0c4 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -14,8 +14,10 @@ regex = "1.11.1" indicatif = "0.17.9" nix = { version = "0.29.0", features = ["process"] } serde_json = "1.0.135" -libpkgx = { path = "../lib" } -console = { version = "0.15", default-features = false, features = ["ansi-parsing"] } +libpkgx = { version = "0.1.0", path = "../lib" } +console = { version = "0.15", default-features = false, features = [ + "ansi-parsing", +] } [target.'cfg(not(target_os = "macos"))'.dependencies] rusqlite = { version = "0.32.1", features = ["bundled"] }