mirror of
https://github.com/jlengrand/asdf-php.git
synced 2026-03-10 08:01:22 +00:00
Include beta, alphas and RCs
It's handy to have available all the versions. Signed-off-by: Alexandre Eher <alexandre@eher.com.br>
This commit is contained in:
@@ -9,7 +9,6 @@ fi
|
||||
versions=$(curl $auth -s https://api.github.com/repos/php/php-src/git/refs/tags | # Fetch all tags
|
||||
grep '"ref":' | # Filter by refs
|
||||
grep 'php-' | # Filter only those related to php-xxxx
|
||||
grep -Ev "beta|alpha|RC" | # Remove betas, alphas and RCs
|
||||
sed 's/\"ref\"://' | # Remove '"ref":'
|
||||
sed 's/\"refs\/tags\/php-//' | # Remove '"refs/tags/php-"'
|
||||
sed 's/\",//') # Remove last '",'
|
||||
|
||||
Reference in New Issue
Block a user