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)]
|
||||
ForgejoApiError(#[from] forgejo_api::ForgejoError),
|
||||
#[error(transparent)]
|
||||
GithubApiError(#[from] octocrab::Error)
|
||||
GithubApiError(#[from] octocrab::Error),
|
||||
}
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
|
|
|
@ -21,7 +21,7 @@ impl Github {
|
|||
#[async_trait]
|
||||
impl ServerApi for Github {
|
||||
async fn push_release(&mut self, rc: ReleaseContext) -> Result<()> {
|
||||
let response = octocrab::instance()
|
||||
let _response = octocrab::instance()
|
||||
.repos(rc.username, rc.repository)
|
||||
.releases()
|
||||
.create(&rc.tag)
|
||||
|
|
Loading…
Reference in New Issue