diff --git a/list.sh b/list.sh new file mode 100755 index 0000000..8c34234 --- /dev/null +++ b/list.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +#|sort -r|head -1 +curl -sL https://api.github.com/repos/neovim/neovim/releases |grep -oP '(?<=tag_name": ")v[0-9.]*' > a +curl -sL https://api.github.com/repos/nat-chan/hello_actions/releases|grep -oP '(?<=tag_name": ")v[0-9.]*' > b +cat a b b|sort|uniq -u|tr . ' '|awk '$2 >= 4'|tr ' ' .|head -1