github.com/kovansky/hugo@v0.92.3-0.20220224232819-63076e4ff19f/goreleaser-hook-post-linux.sh (about) 1 #!/bin/bash 2 3 # Se https://github.com/gohugoio/hugo/issues/8955 4 objdump -T dist/hugo_extended_linux_linux_amd64/hugo | grep -E -q 'GLIBC_2.2[0-9]' 5 RESULT=$? 6 if [ $RESULT -eq 0 ]; then 7 echo "Found GLIBC_2.2x in Linux binary, this will not work in older Vercel/Netlify images."; 8 exit -1; 9 fi