mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
7 lines
No EOL
332 B
Bash
Executable file
7 lines
No EOL
332 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
|
set -euxo pipefail
|
|
|
|
# version.txt is used by the CLI: roc --version
|
|
printf 'nightly pre-release, built from commit ' > version.txt && git log --pretty=format:'%h' -n 1 >> version.txt && printf ' on ' >> version.txt && date -u >> version.txt |