Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion scripts/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ use std::thread;
use std::time::Duration;

// List of crates to publish in dependency order
const CRATES_TO_PUBLISH: &[&str] = &["wsc", "wsc-cli"];
// wsc-attestation MUST be first: wsc depends on it, wsc-cli depends on wsc
const CRATES_TO_PUBLISH: &[&str] = &["wsc-attestation", "wsc", "wsc-cli"];

struct Workspace {
version: String,
Expand Down Expand Up @@ -44,6 +45,10 @@ fn main() {
version: ws_version,
};

// Add attestation crate (must be published first - wsc depends on it)
let attestation_crate = read_crate(Some(&ws), "./src/attestation/Cargo.toml".as_ref());
crates.push(attestation_crate);

// Add main library crate
let lib_crate = read_crate(Some(&ws), "./src/lib/Cargo.toml".as_ref());
crates.push(lib_crate);
Expand Down
Loading