diff --git a/Dockerfile.android b/Dockerfile.android index 79c0149..c2a41b8 100644 --- a/Dockerfile.android +++ b/Dockerfile.android @@ -49,7 +49,7 @@ cd /workspace/src/android E_UID=\$(stat -c '%u' /source) E_GID=\$(stat -c '%g' /source) BRANCH=\$(git rev-parse --abbrev-ref HEAD) -DATE=\$(date +%Y%m%d%H%M%S) +DATE=\$(TZ=UTC0 git show --quiet --date='format-local:%Y%m%d%H%M%S' --format="%cd") SHORT_SHA=\$(git rev-parse --short HEAD) ID=\${DATE}-\${BRANCH}-\${SHORT_SHA} T=\${1} diff --git a/README.md b/README.md index 20b8e13..00418d9 100755 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Example: This requires Docker. Output artifacts, `.apk` or `.AppImage`, and logs, will end up in this directory. Their names contain -target, build date/time, branch, and short commit SHA for easy reference. +target, commit date/time, branch, and short commit SHA for easy reference. No hand-holding (yet), so if you typo stuff or wrongly capitalize it, things will break.