Justfile save-release target now saves image with name containing commit hash and date

This commit is contained in:
Imbus 2024-03-19 04:02:04 +01:00
parent ab313551c9
commit 5f6977354f

View file

@ -15,7 +15,7 @@ remove-podman-containers:
# Saves the release container to a tarball, pigz is just gzip but multithreaded # Saves the release container to a tarball, pigz is just gzip but multithreaded
save-release: build-container-release 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 # Loads the release container from a tarball
load-release file: load-release file: