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 2024-04-28 23:55:29 -04:00 committed by GitHub
parent 74d903acca
commit 982dc6a2bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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