7 lines
176 B
Bash
Executable File
7 lines
176 B
Bash
Executable File
#!/bin/sh
|
|
|
|
curl -s "https://github.com/strukturag/libheif/releases" \
|
|
| awk '/h2 class=.sr-only/ {$0=gensub(/.*>v(.+)<.*/,"\\1",1); print;}' \
|
|
| head -n 1 \
|
|
| cut -d" " -f1
|