probonopd / go-appimage

Go implementation of AppImage tools
MIT License
760 stars 73 forks source link

Stable naming of continuous assets? #231

Closed teras closed 1 year ago

teras commented 1 year ago

This is not a bug of the code per se, it's more like a distribution proposal.

The assets provided by the continuous integration, inserts the version, i.e. the latest is versioned 730. What if this version is missing, so it would be easier for ci/;cd scripts to get the latest version of appimagetool?

Again, this is more like a suggestion :smile:

probonopd commented 1 year ago

Hi @teras, the standard file naming for AppImages includes the version number.

But

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)

should do the trick. Was discussed before iirc.

teras commented 1 year ago

It works