mirror of
https://github.com/mudler/LocalAI.git
synced 2024-06-07 19:40:48 +00:00
982dc6a2bd
fix: bump_docs regex Signed-off-by: Dave Lee <dave@gray101.com>
8 lines
216 B
Bash
Executable File
8 lines
216 B
Bash
Executable File
#!/bin/bash
|
|
set -xe
|
|
REPO=$1
|
|
|
|
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
|