1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-19 20:57:53 +02:00

14 Commits

Author SHA1 Message Date
Bartek Pacia
8d3cd4cef6
fix: run not being truly POSIX-compliant (#4739)
I'm sorry, but my previous PR #4736 contained a mistake and the script
wasn't truly POSIX compliant.

With this PR I fix that mistake.

See relevant shellcheck warning: https://www.shellcheck.net/wiki/SC3010
2024-04-01 14:08:58 -03:00
Bartek Pacia
5a8b6d41fb
fix: convert run install script to pure POSIX sh (#4736)
The changes are minimal and the benefit is quite nice – this script can
now be used to install GoReleaser on e.g. Alpine Linux without `bash`.


`shellcheck run` and `shfmt run` both report no warnings/errors.
2024-03-31 19:48:38 -03:00
Carlos Alexandro Becker
1134f9b40a
docs: update run script
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-12-26 13:24:31 -03:00
Carlos Alexandro Becker
de1c52b466 fix: improve run script
- if `VERSION` ends with `-pro`, set `DISTRIBUTION` to `pro`
- if `DISTRIBUTION` is `pro`, and `VERSION` does not have the `-pro`
  suffix, add it

closes #4374
2023-10-25 22:51:30 -03:00
Ville Skyttä
629df041d9
fix: do runner cleanups also on SIGINT and SIGTERM (#4133)
Behavior of the `EXIT` condition is not consistent between shells with
regards to abnormal exits and signals. This cleanup should occur always.

https://austingroupbugs.net/view.php?id=621
2023-06-21 17:08:08 -03:00
Ville Skyttä
3eecfddfc5
fix: runner tarball extract path (#4114)
Sigh, yet another regression from
4b7827829298c2f4a23dfcdc79bd4fcb685ac1bf. I actually _did_ test already
with 10a627c1967a09810473c182d6e1c1dcb8748f33, but for some reason
failed to notice the error. Tested better now :/
2023-06-15 16:34:45 -03:00
Ville Skyttä
10a627c196
fix: runner tarball download URL (#4113) 2023-06-15 14:57:43 -03:00
Ville Skyttä
4b78278292
docs: runner script fixes (#4112)
Primary motivation here is to fix the runner script on Linux arm64; see
the first commit. The other two contain some while-at-it cleanups.
2023-06-15 14:34:09 -03:00
Ville Skyttä
265148c661
Merge pull request from GHSA-2fvp-53hw-f9fc
Also takes care of removing the temporary directory when done.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-15 11:45:14 -03:00
Carlos Alexandro Becker
bf2e163ce4
docs: fix install's cosign steps (#3913)
updated to the cosign v2

cc/ @cpanato

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-06 14:16:16 -03:00
Carlos Alexandro Becker
9e21511300
feat: cosign update (#3821)
cosign v2 update!

- need to use `--yes` to auto-approve prompts

cc/ @cpanato anything else I'm missing?

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-02 15:11:43 -03:00
Carlos Alexandro Becker
232c982fb0
docs: improve build (#3674)
- generate releases.json et al on our github actions workflow
- use those when building and also on our `run` script
- new releases will dispatch the workflow so it re-generates the needed
files

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 14:55:45 -03:00
Carlos A Becker
cd6ca55db5
fix: install script 2022-10-12 01:16:33 -03:00
Carlos Alexandro Becker
97db97df87
feat: new install anf run script (#3075)
* feat: new install anf run script

- move away from deprecated git.io
- support distribution
- verify checksums and signature

closes #3074

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: rename script

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-29 08:11:04 -03:00