probonopd / go-appimage

Go implementation of AppImage tools
MIT License
818 stars 71 forks source link

Continuous build has versioned filename and thus can't be downloaded #253

Closed realnc closed 1 year ago

realnc commented 1 year ago

In my CI scripts, I used to download appimagetool with:

https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage

It's impossible to do this with go-appimage, because there's a version number in the filename, currently "771" (appimagetool-771-x86_64.AppImage.) This breaks all my CI build scripts every time a new continuous build is released.

probonopd commented 1 year ago

wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)

realnc commented 1 year ago

Thanks. That works too :-P