We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 614ca1c commit f40c68eCopy full SHA for f40c68e
1 file changed
bin/publish-setDocs.sh
@@ -0,0 +1,12 @@
1
+#!/bin/sh
2
+OLD_VERSION=$1
3
+NEW_VERSION=$2
4
+HOME=$(pwd)
5
+
6
+# shellcheck disable=SC2164
7
+cd "$HOME"/docs/
8
9
+sed -i '' "s/${OLD_VERSION}/${NEW_VERSION}/g" mkdocs.yml
10
11
12
+cd "$HOME"
0 commit comments