Skip to content

Commit

Permalink
Update latest.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkfella authored Nov 16, 2024
1 parent 50f3875 commit 6111298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/bazarr/ci/latest.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
version="$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases?per_page=1&pre_release=true" | jq --raw-output '.[0].tag_name' 2>/dev/null)"
version="$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" | jq --raw-output '.tag_name' 2>/dev/null)"
version="${version#*v}"
version="${version#*release-}"
printf "%s" "${version}"

0 comments on commit 6111298

Please sign in to comment.