mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
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:
parent
74d903acca
commit
982dc6a2bd
2
.github/bump_docs.sh
vendored
2
.github/bump_docs.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user