mirror of
https://git.eden-emu.dev/eden-emu/docker
synced 2026-02-04 02:41:22 +01:00
Use commit date instead of build date
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user