Merge branch 'devel' of https://git.cscherr.de/PlexSheep/autocrate into devel
cargo devel CI / cargo CI (push) Successful in 2m38s Details

This commit is contained in:
Christoph J. Scherr 2024-04-26 10:04:33 +02:00
commit ff9306047e
2 changed files with 2 additions and 2 deletions

View File

@ -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)]

View File

@ -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)