asdf/scripts/update_version_in_docs.bash
Eddie Lebow b195d31faa
ci: fix regex in update_version_in_docs.bash script (#1427)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2023-01-14 00:57:02 +11:00

7 lines
148 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
version=$(cat version.txt)
sed -i "s/\(git clone.*--branch \).*/\1v$version/" docs/guide/getting-started.md