add updater
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
use git2::build::{CheckoutBuilder, RepoBuilder};
|
||||
use git2::{Cred, FetchOptions, PushOptions, RemoteCallbacks};
|
||||
use git2::{Cred, FetchOptions, PushOptions, RemoteCallbacks, Signature};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_yaml::Value;
|
||||
use tempdir::TempDir;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> eyre::Result<()> {
|
||||
dotenv::dotenv()?;
|
||||
let _ = dotenv::dotenv();
|
||||
color_eyre::install().unwrap();
|
||||
tracing_subscriber::fmt().pretty().init();
|
||||
|
||||
@@ -98,7 +98,7 @@ async fn main() -> eyre::Result<()> {
|
||||
index.write_tree()?
|
||||
};
|
||||
|
||||
let sig = repo.signature()?;
|
||||
let sig = Signature::now("kjuulh", "contact@kjuulh.io")?;
|
||||
let tree = repo.find_tree(tree_id)?;
|
||||
|
||||
let head = repo.head()?;
|
||||
|
Reference in New Issue
Block a user