jaemk / self_update

Self updates for rust executables
MIT License
798 stars 70 forks source link

Support GZIP on its own #120

Closed Whodiduexpect closed 10 months ago

Whodiduexpect commented 10 months ago

There’s little point to using a tar.gz archive with only one file when it can be directly compressed with gzip (a gz file). Yet if you take this approach, self_update fails to recognize that the file is compressed and treats it as the binary.

Whodiduexpect commented 10 months ago

Oh, it actually is supported, but the file extension needs to be in the name of the asset in the GitLab backend rather than the filename.