Add CLI option for uploading files + dummy hookup
I think this is the interface I want for uploading release files. There is an extra option to create the release ahead of the upload just in case it doesn't exist. One *should* create it with the create command or through the Gitea GUI so that everything can be properly written into the release info.
This commit is contained in:
@@ -29,4 +29,12 @@ pub enum Commands {
|
||||
#[arg()]
|
||||
target_commitish: String,
|
||||
},
|
||||
UploadRelease {
|
||||
#[arg()]
|
||||
tag_name: String,
|
||||
#[arg(short, long, default_value_t = false)]
|
||||
create: bool,
|
||||
#[arg()]
|
||||
files: Vec<String>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user