Skip to content

Commit b71ff14

Browse files
authored
Merge pull request #762 from ethereum/fix-ci-hardhat-fetch
Ignore hardhat pre-releases
2 parents f27395e + 72158fa commit b71ff14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ commands:
155155
--show-error \
156156
"${EXTRA_HEADERS[@]}" \
157157
https://api.github.com/repos/nomiclabs/hardhat/releases \
158-
| jq --raw-output 'map(select(.tag_name | test("^hardhat@"))) | .[0].tag_name' \
158+
| jq --raw-output 'map(select(.prerelease == false and (.tag_name | test("^hardhat@")))) | .[0].tag_name' \
159159
)
160160
echo "export HARDHAT_LATEST_RELEASE_TAG='${HARDHAT_LATEST_RELEASE_TAG}'" >> "$BASH_ENV"
161161

0 commit comments

Comments
 (0)