We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c5e30d + 5c690e7 commit 3afd04eCopy full SHA for 3afd04e
.github/workflows/actions/publish-crate-package/action.yml
@@ -23,7 +23,7 @@ runs:
23
shell: bash
24
run: |
25
echo "Check crate latest published version for '${{ inputs.package }}' package"
26
- LATEST_REMOTE_VERSION=$(curl -sL https://crates.io/api/v1/crates/${{ inputs.package }} | jq -r '.crate.newest_version')
+ LATEST_REMOTE_VERSION=$(curl -sL https://crates.io/api/v1/crates/${{ inputs.package }} --user-agent "iog/mithril (https://github.com/input-output-hk/mithril)" | jq -r '.crate.newest_version')
27
LOCAL_VERSION=$(cargo metadata --quiet --no-deps | jq -r '.packages[] | select(.name=="${{ inputs.package }}") | .version')
28
echo "Latest crate.io version: $LATEST_REMOTE_VERSION"
29
echo "Local version: $LOCAL_VERSION"
0 commit comments