Skip to content

Commit

Permalink
Generalize grep to work on linux/bad-like OSes (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: m-molinari <localhost@localdomain>
  • Loading branch information
m-molinari and m-molinari authored Jan 24, 2023
1 parent 3bbecf5 commit f892167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OS=$(uname -s)
MACHINE=$(uname -m)
VERSION=$(curl -s https://api.github.com/repos/mattblack85/astro_monitor/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')
VERSION=$(curl -s https://api.github.com/repos/mattblack85/astro_monitor/releases/latest | grep '"tag_name":' | grep -Eo 'v.*[0-9]')
PACKAGE_NAME=astromonitor
EXTENSION=tar.gz

Expand Down

0 comments on commit f892167

Please sign in to comment.