about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
authorAlan Pearce2025-01-05 12:32:09 +0100
committerAlan Pearce2025-01-05 12:32:09 +0100
commit660e429c9b63e41ca5636704453772b2e801698c (patch)
treecdb1fad759ef9dda0beb98a8d17ff17ba32d799c /justfile
parent12af22f93a8a5599ef8b3897341274a50e7da9f5 (diff)
downloadwebsite-660e429c9b63e41ca5636704453772b2e801698c.tar.lz
website-660e429c9b63e41ca5636704453772b2e801698c.tar.zst
website-660e429c9b63e41ca5636704453772b2e801698c.zip
build: fix `date` error on darwin/BSD
Diffstat (limited to 'justfile')
-rwxr-xr-xjustfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/justfile b/justfile
index 5d0596c..47d7ca1 100755
--- a/justfile
+++ b/justfile
@@ -2,7 +2,7 @@
 #!nix develop ``.#ci`` --command just --justfile
 
 docker_registry := "registry.fly.io/alanpearce-eu"
-docker-tag := env_var_or_default("DOCKER_TAG", `date --utc +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`)
+docker-tag := env_var_or_default("DOCKER_TAG", `date -u +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`)
 listen_address := env_var_or_default("LISTEN_ADDRESS", "::1")
 tls_port := env_var_or_default("TLS_PORT", "8443")
 port := env_var_or_default("PORT", "8080")