Merge rust-bitcoin/rust-bitcoin#3230: ci: fix cron update-cargo-semver-checks
8fb9bf8262
ci: fix cron update-cargo-semver-checks (Jose Storopoli) Pull request description: typo in the comparison inside jq Closes #3229 ACKs for top commit: Kixunil: ACK8fb9bf8262
looks like something like `!.yanked` ought to work but I don't care enough to check and force rewrite. tcharding: ACK8fb9bf8262
apoelstra: ACK8fb9bf8262
successfully ran local tests Tree-SHA512: 8be05d08969e2b13eeb77c202352d736b076f5bc023f9144818c247c139e51c5187e331264723709ff67dcdc638f97403fbbe2c77b0a18b1b37c201d0d647183
This commit is contained in:
commit
9fd6759944
|
@ -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