You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage is a bit ... hard, because we need to do this before the release
is published.
Download the complete artifact zip archive from the release-drafting
run.
Unpack it into the repository (will end up in patched-fonts/)
Pack all archives with archive-fonts.sh
Then use this tool to extract the names and sizes of the artifacts.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
all=$(find "${archivedir}" -name '*.zip'| sed 's/\.zip$//;s/.*\///'| sort)
8
+
9
+
echo"## Release archives"
10
+
echo"You can select between \`zip\` or \`tar.xz\`. The later are far smaller (about 1/10). Please leave feedback in #1233 if you use the \`xz\` version."
11
+
echo
12
+
echo"[FontPatcher here](${url}FontPatcher.zip) only as \`zip\`."
13
+
echo
14
+
echo"Because the artifacts list is now even longer, here listed next to each other (open details, sizes are approximate):"
15
+
echo
16
+
echo"<details>"
17
+
echo
18
+
echo"| Font | | |"
19
+
echo"|------|---|---|"
20
+
21
+
22
+
forfontin$all;do
23
+
# shellcheck disable=SC2012 # The human readable size is all we want
24
+
zsize=$(LC_ALL=C ls -hs "${archivedir}/${font}.zip"| sed 's/ .*//')
25
+
# shellcheck disable=SC2012 # The human readable size is all we want
26
+
xsize=$(LC_ALL=C ls -hs "${archivedir}/${font}.tar.xz"| sed 's/ .*//')
0 commit comments