You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added curl options:
* -L (--location) to follow Location header value from 3XX responses,
because packagecloud.io redirects a GPG key request to a CDN.
* -s (--silent) to don't show a progress meter.
* -f (--fail) to fail the command at non 2XX HTTP responses. It'll fail
`curl | <...>` command pipeline, since `set -o pipefail` is now
enabled.
Aside of that, fail test.sh script (and so a CI job) if something inside
the script fails (`set -e`) and catch mistakes from using uninitialized
bash variables (`set -u`) inside the script.
0 commit comments