Skip to content

Commit 539525b

Browse files
committed
fix: bump_docs via jq
Signed-off-by: Dave Lee <[email protected]>
1 parent c42ca01 commit 539525b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/bump_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
set -xe
33
REPO=$1
44

5-
LATEST_TAG=$(curl -s "https://api.github.com/repos/$REPO/releases/latest" | jq -r '.name' | grep -oP 'v\d+\.\d+\.\d+')
5+
LATEST_TAG=$(curl -s "https://api.github.com/repos/$REPO/releases/latest" | jq -r '.tag_name')
66

77
cat <<< $(jq ".version = \"$LATEST_TAG\"" docs/data/version.json) > docs/data/version.json

0 commit comments

Comments
 (0)