fix: use correct url to check tags (#1201)
This commit is contained in:
parent
bffbd569a5
commit
fcbf70d7ca
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ fi
|
|||
VERSIONS_REPO="${GITHUB_USERNAME:-"VSCodium"}/versions"
|
||||
|
||||
REPOSITORY="${GITHUB_REPOSITORY:-"VSCodium/vscodium"}"
|
||||
GITHUB_RESPONSE=$( curl -s -H "Authorization: token ${GITHUB_TOKEN}" "https://api.github.com/repos/${REPOSITORY}/releases/tags/latest")
|
||||
GITHUB_RESPONSE=$( curl -s -H "Authorization: token ${GITHUB_TOKEN}" "https://api.github.com/repos/${REPOSITORY}/releases/latest" )
|
||||
LATEST_VERSION=$( echo "${GITHUB_RESPONSE}" | jq -c '.tag_name' )
|
||||
|
||||
if [[ "${LATEST_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+) ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue