asdf/scripts/update_version_in_docs.bash

7 lines
148 B
Bash
Raw Normal View History

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