mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
fix(fonts): fix the timestamp of fonts to the epoch (#3370)
* fix: fix the timestamp of fonts to the epoch * fix: update fonts Co-authored-by: Erik Demaine <edemaine@mit.edu>
This commit is contained in:
2
.github/workflows/fonts.yml
vendored
2
.github/workflows/fonts.yml
vendored
@@ -97,13 +97,11 @@ jobs:
|
||||
|
||||
- name: Build fonts
|
||||
run: |
|
||||
export SOURCE_DATE_EPOCH=$(git log -1 --format=%ct -- src/fonts)
|
||||
make -C src/fonts all
|
||||
rm -f fonts/*.*
|
||||
cp src/fonts/ttf/*.ttf fonts
|
||||
cp src/fonts/woff/*.woff fonts
|
||||
cp src/fonts/woff2/*.woff2 fonts
|
||||
echo $SOURCE_DATE_EPOCH > fonts/VERSION
|
||||
|
||||
- name: Build metrics
|
||||
run: ./dockers/fonts/buildMetrics.sh
|
||||
|
Reference in New Issue
Block a user