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