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.
This commit is contained in:
2025-06-01 20:42:05 -05:00
parent 8213ddaf46
commit 0a4de1cb92
2 changed files with 1 additions and 4 deletions

View File

@@ -22,8 +22,6 @@ pub enum Commands {
draft: bool, draft: bool,
#[arg()] #[arg()]
name: String, name: String,
#[arg(short, long)]
prerelease: bool,
#[arg()] #[arg()]
tag_name: String, tag_name: String,
#[arg()] #[arg()]

View File

@@ -38,7 +38,6 @@ async fn main() -> Result<(), gt_tools::Error> {
name, name,
body, body,
draft, draft,
prerelease,
tag_name, tag_name,
target_commitish, target_commitish,
} => { } => {
@@ -46,7 +45,7 @@ async fn main() -> Result<(), gt_tools::Error> {
body, body,
draft, draft,
name, name,
prerelease, prerelease: false,
tag_name, tag_name,
target_commitish, target_commitish,
}; };