6 lines
168 B
Bash
Executable File
6 lines
168 B
Bash
Executable File
#!/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
|