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 7000e19 commit e97a14bCopy full SHA for e97a14b
.github/workflows/update-versions.yml
@@ -20,12 +20,11 @@ jobs:
20
id: get-version
21
run: |
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
- jq -r '[.[] | select(.tag_name | startswith("v"))] | first')
+ RELEASE_INFO=$(curl -s "https://api.github.com/repos/filecoin-project/lotus/releases/latest")
25
26
# Extract the tag name
27
TAG_NAME=$(echo "$RELEASE_INFO" | jq -r .tag_name)
28
-
+
29
# Extract version number (remove 'v' prefix)
30
LATEST_VERSION=$(echo $TAG_NAME | sed 's/^v//')
31
0 commit comments