fix(ci): the ISO release's time in UTC again (GitHub's clock when the release starts; the name says UTC)

This commit is contained in:
theupriser committed 2026-09-29 22:18:31 +02:00
1 parent e78bbb2660
commit 0a413a3d95
4 files changed
+11 -11

No files matched your search

+3 -3
View File
@@ -4,10 +4,10 @@
iso_name="steamify-cachyos"
# The label follows the release name: the Steamify version on the ISO (steamify-prepare.sh put it there)
# plus the build date and time, e.g. STEAMIFY_2_9_1_20260929_1432 (ISO 9660: at most 32 characters,
# A-Z 0-9 _). STEAMIFY_BUILD_STAMP (YYYYMMDD_HHMM, Dutch time) from the release workflow, so both name the
# same moment; built by hand, the time now (Europe/Amsterdam).
# A-Z 0-9 _). STEAMIFY_BUILD_STAMP (YYYYMMDD_HHMM, UTC) from the release workflow, so both name the same
# moment; built by hand, the time now (UTC).
_steamify="$(sed -n 's/^VERSION=//p' "${BASH_SOURCE[0]%/*}/airootfs/usr/local/share/steamify/steamify.sh" 2>/dev/null | head -n 1)"
_stamp="${STEAMIFY_BUILD_STAMP:-$(TZ=Europe/Amsterdam date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d_%H%M)}"
_stamp="${STEAMIFY_BUILD_STAMP:-$(date -u --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d_%H%M)}"
iso_label="STEAMIFY_${_steamify:+${_steamify//./_}_}${_stamp}"
iso_label="${iso_label:0:32}"
iso_publisher="CachyOS <https://cachyos.org>"