Skip to content

Commit

Permalink
chore: abandon GitHub /latest API
Browse files Browse the repository at this point in the history
very sensitive rate limits, wants authentication. will just update manually.
  • Loading branch information
ctjlewis committed Oct 3, 2024
1 parent 4d209ec commit 7c76808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail

LATEST=$(curl --silent "https://api.github.com/repos/SpellcraftAI/llmshell/releases/latest" | grep -o '"tag_name": "[^"]*"' | sed 's/"tag_name": "\(.*\)"/\1/')
LATEST=v1.0.7
VERSION="${1:-$LATEST}"

if [[ ${OS:-} = Windows_NT ]]; then
Expand Down

0 comments on commit 7c76808

Please sign in to comment.