mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
7 lines
332 B
Bash
Executable File
7 lines
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 |