tinned-fish / gofish

Keep your fish fresh! :tropical_fish:
https://gofish.dev
Apache License 2.0
6 stars 2 forks source link

releases without zip or tar #19

Open gedw99 opened 1 month ago

gedw99 commented 1 month ago

Could we have releases without the zip or tar ?

it wil make installation easier. For example the code is much simpler like this other GitHub repo does:

https://github.com/pojntfx/hydrapp

Invoke-WebRequest https://github.com/pojntfx/hydrapp/releases/download/release-main/hydrapp.windows-x86_64.exe -OutFile \Windows\System32\hydrapp.exe

so for gofish it would be:


# darwin
# $ curl -L -o /tmp/gofish "https://github.com/tinned-fish/gofishp/releases/download/release-main/gofish_darwin_-$(uname -m)"
# sudo install /tmp/gofish /usr/local/bin

# linux
# $ curl -L -o /tmp/gofish "https://github.com/tinned-fish/gofishp/releases/download/release-main/gofish_linux_-$(uname -m)"
# sudo install /tmp/gofish /usr/local/bin

# windows
# PS> Invoke-WebRequest https://github.com/tinned-fish/gofishp/releases/download/release-main/gofish_windows_arm64.exe -OutFile \Windows\System32\gofish.exe

Related to this Issue:

https://github.com/tinned-fish/gofish/issues/14

gedw99 commented 1 month ago

https://github.com/tinned-fish/gofish/blob/main/.github/workflows/release.yaml can be changed to export binaries probably. Have not used go release in a while..

gedw99 commented 1 month ago

just showing that it works.

Screenshot 2024-08-13 at 18 12 16
gedw99 commented 1 month ago

running fine from the location that the -OutFile \Windows\System32\hydrapp.exe demanded during install.

very easy.

Screenshot 2024-08-13 at 18 14 35