Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/update-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
# Get all releases and find the first one starting with 'v'
RELEASE_INFO=$(curl -s "https://api.github.com/repos/filecoin-project/lotus/releases/latest")

# Extract the tag name
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')

# Extract version number (remove 'v' prefix)
LATEST_VERSION=$(echo $TAG_NAME | sed 's/^v//')
Expand Down
Loading