mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-15 08:15:07 +00:00
12 lines
No EOL
390 B
Bash
Executable file
12 lines
No EOL
390 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# retrieves roc_releases.json, expects AUTH_HEADER to be set
|
|
|
|
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
|
set -euxo pipefail
|
|
|
|
curl --request GET \
|
|
--url https://api.github.com/repos/roc-lang/roc/releases \
|
|
--header '$AUTH_HEADER' \
|
|
--header 'content-type: application/json' \
|
|
--output roc_releases.json |