We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c42ca01 commit 539525bCopy full SHA for 539525b
.github/bump_docs.sh
@@ -2,6 +2,6 @@
2
set -xe
3
REPO=$1
4
5
-LATEST_TAG=$(curl -s "https://api.github.com/repos/$REPO/releases/latest" | jq -r '.name' | grep -oP 'v\d+\.\d+\.\d+')
+LATEST_TAG=$(curl -s "https://api.github.com/repos/$REPO/releases/latest" | jq -r '.tag_name')
6
7
cat <<< $(jq ".version = \"$LATEST_TAG\"" docs/data/version.json) > docs/data/version.json
0 commit comments