1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00
mal/voom-like-version.sh
Joel Martin 78d6dabcaf Makefile,ci.sh: use versioned images
Get a voom style git hash of the impl Dockerfile and use that as the
testing docker image version (rather than blank which implies "latest").
2024-08-01 12:49:51 -05:00

4 lines
163 B
Bash
Executable File

#!/usr/bin/env sh
echo $(TZ=UTC git log -1 --pretty=%ad-g%h --date=format-local:"%Y%m%d_%H%M%S" -- "$@")$(test -z "$(git status --short -- "$@")" || echo _DIRTY)