roc/ci/write_version.sh

3 lines
237 B
Bash
Raw Normal View History

2022-06-18 18:10:59 +03:00
#!/usr/bin/env bash
# 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 >> version.txt