Skip to content

Commit

Permalink
Merge rust-bitcoin#3230: ci: fix cron update-cargo-semver-checks
Browse files Browse the repository at this point in the history
8fb9bf8 ci: fix cron update-cargo-semver-checks (Jose Storopoli)

Pull request description:

  typo in the comparison inside jq

  Closes rust-bitcoin#3229

ACKs for top commit:
  Kixunil:
    ACK 8fb9bf8 looks like something like `!.yanked` ought to work but I don't care enough to check and force rewrite.
  tcharding:
    ACK 8fb9bf8
  apoelstra:
    ACK 8fb9bf8 successfully ran local tests

Tree-SHA512: 8be05d08969e2b13eeb77c202352d736b076f5bc023f9144818c247c139e51c5187e331264723709ff67dcdc638f97403fbbe2c77b0a18b1b37c201d0d647183
  • Loading branch information
apoelstra committed Aug 26, 2024
2 parents 283651b + 8fb9bf8 commit 9fd6759
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fd6759

Please sign in to comment.