Skip to content

Commit

Permalink
stable
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-chan committed Dec 27, 2019
1 parent 8130752 commit 2deec2b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions list.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2deec2b

Please sign in to comment.