generated from PlexSheep/rs-base
Merge branch 'devel' of https://git.cscherr.de/PlexSheep/autocrate into devel
cargo devel CI / cargo CI (push) Successful in 2m38s
Details
cargo devel CI / cargo CI (push) Successful in 2m38s
Details
This commit is contained in:
commit
ff9306047e
|
@ -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)]
|
||||||
|
|
|
@ -21,7 +21,7 @@ impl Github {
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
impl ServerApi for Github {
|
impl ServerApi for Github {
|
||||||
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