generated from PlexSheep/rs-base
automatic cargo CI changes
This commit is contained in:
parent
ff9306047e
commit
fcd6b6a4d4
|
@ -18,7 +18,10 @@ pub(crate) fn get_repo() -> Result<git2::Repository> {
|
|||
Ok(repo)
|
||||
}
|
||||
|
||||
pub async fn tag<'repo>(repo: &'repo mut git2::Repository, cfg: &Config) -> Result<git2::Tag<'repo>> {
|
||||
pub async fn tag<'repo>(
|
||||
repo: &'repo mut git2::Repository,
|
||||
cfg: &Config,
|
||||
) -> Result<git2::Tag<'repo>> {
|
||||
// TODO: error handling
|
||||
// TODO: allow force
|
||||
// TODO: allow setting a message
|
||||
|
|
|
@ -26,7 +26,7 @@ impl ServerApi for Gitea {
|
|||
}
|
||||
|
||||
impl Gitea {
|
||||
pub async fn build(api: &Api, cfg: &Config) -> Result<Self> {
|
||||
pub async fn build(api: &Api, _cfg: &Config) -> Result<Self> {
|
||||
Ok(Self { api: api.clone() })
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ pub struct Github {
|
|||
}
|
||||
|
||||
impl Github {
|
||||
pub async fn build(api: &Api, cfg: &Config) -> Result<Self> {
|
||||
pub async fn build(api: &Api, _cfg: &Config) -> Result<Self> {
|
||||
Ok(Self {
|
||||
api: api.to_owned(),
|
||||
})
|
||||
|
|
|
@ -26,7 +26,7 @@ impl ServerApi for Gitlab {
|
|||
}
|
||||
|
||||
impl Gitlab {
|
||||
pub async fn build(api: &Api, cfg: &Config) -> Result<Self> {
|
||||
pub async fn build(api: &Api, _cfg: &Config) -> Result<Self> {
|
||||
Ok(Self { api: api.clone() })
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue