asdf/scripts/update_version_in_docs.bash
2022-12-20 15:54:00 -05:00

7 lines
159 B
Bash
Executable File

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