Consider Link to point "latest" branch to the most current Zip download
Per title, consider a direct link that always points to the most recent public release to more easily keep the fonts up to date.
curl -LO https://github.com/arrowtype/recursive/releases/download/latest/ArrowType-Recursive-latest.zip vs curl -LO https://github.com/arrowtype/recursive/releases/download/v1.085/ArrowType-Recursive-1.085.zip
Perhaps such a link exists already? If so, I was not able to find it.
Just a suggestion. Thanks for the font and all of your hard work
Example of how I pull and extract the "latest" Mono Linear Static otf fonts now, in case it is of use to anyone
cd $HOME/Downloads/
echo "Checking for Recursive Font and version"
rm -f latest
until [ -s latest ]
do
curl -LO https://github.com/arrowtype/recursive/releases/latest
done
VER=$(grep release $HOME/Downloads/latest | awk -F\" '/src=/ { print $(NF-1) }' | awk -F\/ '{ print $NF }' | sed 's/^v//' )
echo "Current Recursive version seems to be ${VER}"
FONTS=$HOME/Downloads/ArrowType-Recursive-${VER}
if [ ! -d ${FONTS} ]
then
cd $HOME/Downloads/
echo "Trying to download font ArrowType-Recursive-${VER}.zip"
curl -LO https://github.com/arrowtype/recursive/releases/download/v${VER}/ArrowType-Recursive-${VER}.zip
echo "Attempting archive extraction"
unzip -u ArrowType-Recursive-${VER}.zip
fi
cd ${FONTS}
if [ ! -d /usr/share/fonts/opentype/recursive ]
then
sudo mkdir -p /usr/share/fonts/opentype/recursive
find ${FONTS} -type f -name "*MonoLnrSt*otf" -exec sudo cp -va {} /usr/share/fonts/opentype/recursive \;
find ${FONTS} -type f -name "LICENSE.txt" -exec sudo cp -va {} /usr/share/fonts/opentype/recursive \;
sudo chmod -R 755 /usr/share/fonts/opentype/recursive
sudo fc-cache -f
else
du -sh /usr/share/fonts/opentype/recursive
fi
Hey @kajukenbo, thanks for taking time to share this insight!
My main reason for including the version number in the zip download is to help make people aware of different versions they may have downloaded. I wish GitHub would have some kind of a URL that could easily be used to point to the main zip download of the latest release, but I don’t think they do...
I may adjust my releases to use a consistent zip folder naming scheme, as it is annoying to have to manually update the font minisite when I make a new release.
I’ll leave this open as a reminder to probably change the zip naming in the future.