ralph-irving / squeezelite

Lightweight headless squeezebox player for Lyrion Media Server
https://sourceforge.net/projects/lmsclients/files/squeezelite/
Other
391 stars 98 forks source link

Request: Create Release #213

Closed Simerax closed 7 months ago

Simerax commented 7 months ago

Hi im currently in the process of creating a package for void-linux.

It would simplify my life a lot if you could create a github release (or a git tag).

The reason for this is that I'm creating a source package which needs some URL to get the correct source code from. Without any tags/releases I'm stuck with current master (https://github.com/ralph-irving/squeezelite/archive/refs/heads/master.zip) which is impossible to package because you never know what version you get.

If it is impossible for you to create tags/releases please let me know so I can look into other options :smile:

ralph-irving commented 7 months ago

It's not impossible, I just don't want to change my workflow at this time. See https://github.com/ralph-irving/squeezelite/issues/29 for why I don't do this.

mavit commented 7 months ago

The reason for this is that I'm creating a source package which needs some URL to get the correct source code from. Without any tags/releases I'm stuck with current master (https://github.com/ralph-irving/squeezelite/archive/refs/heads/master.zip) which is impossible to package because you never know what version you get.

You can grab an archive of a particular commit from, e.g., https://github.com/ralph-irving/squeezelite/archive/7bba683e26f84b7dccc6ef5f40762a67b4f63606/squeezelite-7bba683e26f84b7dccc6ef5f40762a67b4f63606.tar.gz, which is what we do for Fedora.

It would be good to have official releases, though, to remove some of the guesswork of which snapshots are likely to be best to package.

FabioLolix commented 7 months ago

For the AUR I'm picking specific git commits (could be archives too) then version is calculated by pkgver() https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=squeezelite

Simerax commented 7 months ago

The reason for this is that I'm creating a source package which needs some URL to get the correct source code from. Without any tags/releases I'm stuck with current master (https://github.com/ralph-irving/squeezelite/archive/refs/heads/master.zip) which is impossible to package because you never know what version you get.

You can grab an archive of a particular commit from, e.g., https://github.com/ralph-irving/squeezelite/archive/7bba683e26f84b7dccc6ef5f40762a67b4f63606/squeezelite-7bba683e26f84b7dccc6ef5f40762a67b4f63606.tar.gz, which is what we do for Fedora.

It would be good to have official releases, though, to remove some of the guesswork of which snapshots are likely to be best to package.

Ah yeah thank you :smile: i figured that out yesterday after a little more digging around :smile: