build/linux: Output go-appimage build number for easier debugging

This commit is contained in:
Bruno 2024-11-30 20:32:57 -03:00
parent 058d62c308
commit e38dae1bb1
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ export APPIMAGE_EXTRACT_AND_RUN=1
## For now, we always use the latest version of go-appimagetool
wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-${ARCH}.AppImage" | head -n 1 | cut -d '"' -f 2) >/dev/null 2>&1
echo "(INFO): Downloaded go-appimagetool: $(echo appimagetool-*.AppImage | sed -e 's/appimagetool-//' -e "s/-${ARCH}.AppImage//")"
go_appimagetool='go-appimagetool.AppImage'
mv appimagetool-*.AppImage $go_appimagetool
chmod +x "$go_appimagetool"