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:
@@ -22,8 +22,6 @@ pub enum Commands {
|
||||
draft: bool,
|
||||
#[arg()]
|
||||
name: String,
|
||||
#[arg(short, long)]
|
||||
prerelease: bool,
|
||||
#[arg()]
|
||||
tag_name: String,
|
||||
#[arg()]
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user