ci: fix cron update-cargo-semver-checks

typo in the comparison inside jq
This commit is contained in:
Jose Storopoli 2024-08-24 14:27:21 -03:00
parent 6f335b011c
commit 8fb9bf8262
No known key found for this signature in database
GPG Key ID: BCD6BC0FC1D110A5
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ jobs:
set -x
# Grab the latest version of cargo semver-checks from crates.io
# that is not yanked.
LATEST_VERSION=$(curl --proto '=https' --tlsv1.3 -sSf https://crates.io/api/v1/crates/cargo-semver-checks/versions | jq -r 'first( .versions[] | select(.yanked =- false) ) | .num')
LATEST_VERSION=$(curl --proto '=https' --tlsv1.3 -sSf https://crates.io/api/v1/crates/cargo-semver-checks/versions | jq -r 'first( .versions[] | select(.yanked == false) ) | .num')
# Update the latest version in the reference file.
echo "${LATEST_VERSION}" > ./.github/workflows/cargo-semver-checks-version
echo "cargo_semver_checks_version=${LATEST_VERSION}" >> $GITHUB_ENV