diff --git a/docs/releasing.md b/docs/releasing.md index 44a1afaaa..914a7ad84 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -66,7 +66,7 @@ the web build requires BIZ UDPGothic Regular and packages Noto Sans CJK SC as a Local macOS, Linux and Windows packaging scripts automatically use the sibling `../craft-fonts` checkout. If it is absent, they clone it at revision -`8dcdacd5153e64560d109541a47d806f26f048c0` (keep the pins in `packaging/fonts.sh` and +`3d9ab3a132ed0eff457e424226a435a901da30d3` (keep the pins in `packaging/fonts.sh` and `packaging/windows/fonts.ps1` in sync with the release workflow). Existing checkouts are left untouched. Set `CRAFT_FONTS_DIR` to use another checkout; relative paths resolve from the workspace root. The script requires the Chinese and Japanese diff --git a/packaging/fonts.sh b/packaging/fonts.sh index 61dc913f4..70d9fe14e 100644 --- a/packaging/fonts.sh +++ b/packaging/fonts.sh @@ -10,7 +10,7 @@ prepare_fonts() { if [ -z "${CRAFT_FONTS_DIR:-}" ] && [ ! -e "$font_dir" ]; then # Same revision as release.yml. Never update or reset an existing checkout. - local revision=8dcdacd5153e64560d109541a47d806f26f048c0 + local revision=3d9ab3a132ed0eff457e424226a435a901da30d3 echo "==> downloading craft-fonts ($revision) to $font_dir" if ! git clone --no-checkout https://github.com/storytold/craft-fonts "$font_dir" || ! git -C "$font_dir" checkout --detach "$revision"; then diff --git a/packaging/windows/fonts.ps1 b/packaging/windows/fonts.ps1 index c927fbb7a..74f383fd8 100644 --- a/packaging/windows/fonts.ps1 +++ b/packaging/windows/fonts.ps1 @@ -6,7 +6,7 @@ function Initialize-CraftFonts([string] $WorkspaceRoot) { if (-not $env:CRAFT_FONTS_DIR -and -not (Test-Path -LiteralPath $fontDir)) { # Same revision as release.yml and packaging/fonts.sh. Existing checkouts stay untouched. - $revision = '8dcdacd5153e64560d109541a47d806f26f048c0' + $revision = '3d9ab3a132ed0eff457e424226a435a901da30d3' Write-Output "==> downloading craft-fonts ($revision) to $fontDir" & git clone --no-checkout https://github.com/storytold/craft-fonts $fontDir if ($LASTEXITCODE -ne 0) { throw 'Could not download craft-fonts; provide a complete checkout with CRAFT_FONTS_DIR' }