]> Nishi Git Mirror - gwion.git/commitdiff
:art: Update build
authorJérémie Astor <fennecdjay@gmail.com>
Sat, 3 Apr 2021 12:11:48 +0000 (14:11 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Sat, 3 Apr 2021 12:11:48 +0000 (14:11 +0200)
scripts/update.sh

index e5cb225367eea871c1fb3cebee5f78b37016de02..6e288f573fbad99c80d128d378929690875361e5 100644 (file)
@@ -8,9 +8,9 @@ get_latest_release() {
 
 update() {
   new_release=$(get_latest_release $1 $2)
-  url=https://github.com/$1/$2/releases/download
+#  url=https://github.com/$1/$2/releases/download
   file=${2}*.zip
-  wget "$url/$new_release/$file"
+  wget "$new_release"
   7z e $file
   rm $file
 }