feat: add COMMIT_HASH build time env var
This commit is contained in:
parent
e7d06a45f6
commit
3b7e976deb
3 changed files with 22 additions and 0 deletions
|
|
@ -14,6 +14,8 @@ async fn main() {
|
|||
tracing_subscriber::fmt::init();
|
||||
let cache = KubeCache::Cache::create().unwrap();
|
||||
let arcCache = Arc::new(cache);
|
||||
let commit_hash: &'static str = env!("COMMIT_HASH");
|
||||
println!("COMMIT_HASH: {}", commit_hash);
|
||||
|
||||
let mut listener = TcpListener::bind("0.0.0.0:25565").await.unwrap();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue