fix: github bump_docs.sh regex to drop emoji and other text (#2180)

fix: bump_docs regex

Signed-off-by: Dave Lee <dave@gray101.com>
This commit is contained in:
Dave authored and GitHub committed 2024-04-29 03:55:29 +00:00
1 parent 74d903acca
commit 982dc6a2bd
1 file changed
+1 -1
+1 -1
View File
@@ -2,6 +2,6 @@
set -xe
REPO=$1
LATEST_TAG=$(curl -s "https://api.github.com/repos/$REPO/releases/latest" | jq -r '.name')
LATEST_TAG=$(curl -s "https://api.github.com/repos/$REPO/releases/latest" | jq -r '.tag_name')
cat <<< $(jq ".version = \"$LATEST_TAG\"" docs/data/version.json) > docs/data/version.json