From 5f6977354f143e519abfbe9f88dc6bc3535fa268 Mon Sep 17 00:00:00 2001
From: Imbus <>
Date: Tue, 19 Mar 2024 04:02:04 +0100
Subject: [PATCH] Justfile save-release target now saves image with name
 containing commit hash and date

---
 Justfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Justfile b/Justfile
index 432fbd1..cb905e4 100644
--- a/Justfile
+++ b/Justfile
@@ -15,7 +15,7 @@ remove-podman-containers:
 
 # Saves the release container to a tarball, pigz is just gzip but multithreaded
 save-release: build-container-release
-    podman save --format=oci-archive ttime-server | pigz -9 > ttime-server.tar.gz
+    podman save --format=oci-archive ttime-server | pigz -9 > ttime-server_`date -I`_`git rev-parse --short HEAD`.tar.gz
 
 # Loads the release container from a tarball
 load-release file: