Skip to content

Commit 7000e19

Browse files
committed
fix: fetch only the latest version
1 parent c42a031 commit 7000e19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: get-version
2121
run: |
2222
# 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" | \
23+
RELEASE_INFO=$(curl -s "https://api.github.com/repos/filecoin-project/lotus/releases/latest" | \
2424
jq -r '[.[] | select(.tag_name | startswith("v"))] | first')
2525
2626
# Extract the tag name

0 commit comments

Comments
 (0)