From 0a4de1cb92fc3ec143e538e95f5faa5cdb007479 Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Sun, 1 Jun 2025 20:42:05 -0500 Subject: [PATCH] Drop the prerelease flag for create-release Releases in a "pre-release" state are... weird. I'm not going to deal with their oddities right now, so instead I'm dropping the command option and hard-coding a `false` at it's usage site. --- src/cli.rs | 2 -- src/main.rs | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index a4c6890..98d5b61 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -22,8 +22,6 @@ pub enum Commands { draft: bool, #[arg()] name: String, - #[arg(short, long)] - prerelease: bool, #[arg()] tag_name: String, #[arg()] diff --git a/src/main.rs b/src/main.rs index ed0fed3..9e3a21e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,7 +38,6 @@ async fn main() -> Result<(), gt_tools::Error> { name, body, draft, - prerelease, tag_name, target_commitish, } => { @@ -46,7 +45,7 @@ async fn main() -> Result<(), gt_tools::Error> { body, draft, name, - prerelease, + prerelease: false, tag_name, target_commitish, };