Skip to content

Commit

Permalink
Set COPY_YEAR to current year; use UTC time and macOS-compatible format
Browse files Browse the repository at this point in the history
-I could be used in place of --iso-8601, but we also need +%Y anyway.
  • Loading branch information
lianghai committed Dec 12, 2024
1 parent 03710ab commit 607cfa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
TMP=pub/tmp
mkdir $TMP

PUB_DATE=$(date --iso-8601)
COPY_YEAR=$(date -u +%Y)
PUB_DATE=$(date -u +%Y-%m-%d)

cat > $TMP/sed-readmes.txt << eof
s/COPY_YEAR/$COPY_YEAR/
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
default: Dev

env:
COPY_YEAR: "2024"
UNI_VER: "17.0.0"
EMOJI_VER: "17.0"
TR10_REV: "tr10-52" # UTS #10 release revision number to be used in CollationTest.html: One more than the last release revision number.
Expand Down

0 comments on commit 607cfa8

Please sign in to comment.