From cd97c45f84a1892460350ab08e41ab0a030dd765 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 20 Jun 2023 11:18:56 +0200 Subject: [PATCH] Remove unused argument --- .github/workflows/cd.yml | 7 +------ tools/release-operator/src/main.rs | 6 +----- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 192cc09ad..92fbf3cd5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -65,9 +65,4 @@ jobs: run: | # Publish to crates.io cargo run -p release-operator -- publish \ - --token ${{ secrets.CARGO_REGISTRY_TOKEN }} \ - --crate crates/fj-math \ - --crate crates/fj-interop \ - --crate crates/fj-kernel \ - --crate crates/fj-export \ - --crate crates/fj-viewer + --token ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/tools/release-operator/src/main.rs b/tools/release-operator/src/main.rs index 0086dcdef..49e37baf2 100644 --- a/tools/release-operator/src/main.rs +++ b/tools/release-operator/src/main.rs @@ -4,7 +4,7 @@ mod release; use crate::github::{Actions, GitHub}; -use crate::registry::{Crate, Registry}; +use crate::registry::Registry; use crate::release::Release; use clap::{Args, Parser, Subcommand}; use secstr::SecUtf8; @@ -42,10 +42,6 @@ struct PublishArgs { #[clap(short, long, env = "CARGO_REGISTRY_TOKEN")] token: SecUtf8, - /// Repeatable option to provide a list of paths to crates - #[clap(short, long = "crate")] - crates: Vec, - /// Perform all checks without uploading #[clap(long)] dry_run: bool,