generated from PlexSheep/rs-base
automatic cargo CI changes
This commit is contained in:
parent
e66550f2ef
commit
e767752338
|
@ -35,7 +35,7 @@ pub enum ServerApiError {
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
ForgejoApiError(#[from] forgejo_api::ForgejoError),
|
ForgejoApiError(#[from] forgejo_api::ForgejoError),
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
GithubApiError(#[from] octocrab::Error)
|
GithubApiError(#[from] octocrab::Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Error, Debug)]
|
#[derive(Error, Debug)]
|
||||||
|
|
|
@ -24,7 +24,7 @@ impl ServerApi for Github {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
async fn push_release(&mut self, rc: ReleaseContext) -> Result<()> {
|
async fn push_release(&mut self, rc: ReleaseContext) -> Result<()> {
|
||||||
let response = octocrab::instance()
|
let _response = octocrab::instance()
|
||||||
.repos(rc.username, rc.repository)
|
.repos(rc.username, rc.repository)
|
||||||
.releases()
|
.releases()
|
||||||
.create(&rc.tag)
|
.create(&rc.tag)
|
||||||
|
|
Loading…
Reference in New Issue