Skip to content

Commit 480119d

Browse files
committed
fix version retrieval
1 parent c833726 commit 480119d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
VERSION=$(curl -s https://github.com/mintyphp/mintyphp/releases | grep -iA 10 'label-latest' | grep -o '"v[0-9]\+\.[0-9]\+\.[0-9]\+"')
2+
VERSION=$(curl -s https://github.com/mintyphp/mintyphp/releases | grep -iA 20 'label-latest' | grep -o '"v[0-9]\+\.[0-9]\+\.[0-9]\+"')
33
VERSION="${VERSION//\"}" # strip quote character
44
VERSION="${VERSION//v}" # strip v character
55
OLDVER=$(cat version.txt)

0 commit comments

Comments
 (0)