ci: fix cron update-cargo-semver-checks
typo in the comparison inside jq
This commit is contained in:
parent
6f335b011c
commit
8fb9bf8262
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue