This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/update-version.sh
Gerhard Lazu 4d7026895d
Update dagger version in all docs to 0.2.4
Including the version that we install explicitly.

Fixes https://github.com/dagger/dagger/issues/1908

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-03-29 19:41:59 +01:00

14 lines
262 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
if ! sed --version | grep "GNU"
then
echo "Please install GNU sed, a.k.a. gnused"
exit 1
fi
sed --in-place --regexp-extended --expression \
's/'"${DAGGER_VERSION_FROM:-0.2.3}"'/'"${DAGGER_VERSION_TO:-0.2.4}"'/g' \
./*/*.md