6 lines
168 B
Plaintext
6 lines
168 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
curl -s "https://github.com/vim/vim/tags" \
|
||
|
| awk '/archive\/refs\/tags/ {$0=gensub(/.*archive\/refs\/tags\/v(.+)\.zip.*/,"\\1",1); print;}' \
|
||
|
| head -n 1
|