Releases can now be created... sorta

The API token is read from the environment variable `RELEASE_KEY_GITEA`.
"GITEA" is on the end because Gitea itself will refuse to allow users to
configure Act variables starting with the name "GITEA_".

All information about the release is hard-coded right now. I just needed
to see it hit the API and appear on the Gitea page. Hooking up the extra
options is up next.
This commit is contained in:
2025-05-24 15:14:53 -05:00
parent f31f5b49da
commit f1da1b508a
3 changed files with 46 additions and 1 deletions

View File

@@ -15,4 +15,8 @@ pub struct Args {
#[derive(Subcommand, Debug)]
pub enum Commands {
ListReleases,
CreateRelease {
#[arg()]
name: String,
},
}