diff options
author | Ueda Naoaki <nao@uedder.com> | 2023-03-13 17:10:05 +0900 |
---|---|---|
committer | Ueda Naoaki <nao@uedder.com> | 2023-03-13 17:10:05 +0900 |
commit | d9f8f870591d078120e7f822fb927168d9001f05 (patch) | |
tree | 7cdecd82641eadbed0129390b1ac3cf5c2f6bd47 | |
parent | 017350d0ec65a273f93acccd3033b3847f09044f (diff) | |
download | asustor-nas-tailscale-installer-d9f8f870591d078120e7f822fb927168d9001f05.tar.gz asustor-nas-tailscale-installer-d9f8f870591d078120e7f822fb927168d9001f05.tar.bz2 asustor-nas-tailscale-installer-d9f8f870591d078120e7f822fb927168d9001f05.zip |
Fix regex to parse the tailscale version
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ tailscale tailscaled: downloaded .INTERMEDIATE: ver-tmp ver-tmp: - curl -s https://api.github.com/repos/tailscale/tailscale/releases/latest | perl -nle '/"name":\s*"(.+)"/ and print $$1' > $@ + curl -s https://api.github.com/repos/tailscale/tailscale/releases/latest | perl -nle '/"tag_name":\s*"v(.+)"/ and print $$1' > $@ ver: ver-tmp if [[ ! -e $@ ]] || ! cmp -s $@ $< ; then cat $< > $@ ; fi |