We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1a17be commit 61d57caCopy full SHA for 61d57ca
install/install.sh
@@ -4,7 +4,7 @@
4
repo="msrgit/PiScreenClient"
5
6
#Get the latest version
7
-readonly PISCREEN_VERSION=
+readonly PISCREEN_VERSION=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
8
9
# Define terminal colours
10
readonly ANSI_RED="\033[0;31m"
0 commit comments