localAi / .github /bump_docs.sh
eder0782's picture
inicio
7def60a
raw
history blame contribute delete
216 Bytes
#!/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