Use commit date instead of build date

This commit is contained in:
Denis Dupeyron
2025-11-20 13:32:36 -07:00
parent 17952cd117
commit da4acdf651
2 changed files with 2 additions and 2 deletions

View File

@@ -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}

View File

@@ -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.