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.
1 parent e61314b commit f960119Copy full SHA for f960119
.github/workflows/update-versions.yml
@@ -23,7 +23,7 @@ jobs:
23
RELEASE_INFO=$(curl -s "https://api.github.com/repos/filecoin-project/lotus/releases/latest")
24
25
# Find first tag that starts with 'v' but not 'miner'
26
- TAG_NAME=$(echo "$RELEASE_INFO" | jq -r '[.[] | select(.tag_name | startswith("v") and (contains("miner") | not))][0].tag_name')
+ TAG_NAME=$(echo "$RELEASE_INFO" | jq -r 'select(.tag_name | startswith("v") and (contains("miner") | not)) | .tag_name')
27
28
# Extract version number (remove 'v' prefix)
29
LATEST_VERSION=$(echo $TAG_NAME | sed 's/^v//')
0 commit comments