Error fetch lcg scripts on failure #612
|
@ -3,6 +3,6 @@
|
||||||
VERSION=`cat LIBCWTCH-GO-MACOS.version`
|
VERSION=`cat LIBCWTCH-GO-MACOS.version`
|
||||||
echo $VERSION
|
echo $VERSION
|
||||||
|
|
||||||
curl https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.x64.dylib --output libCwtch.x64.dylib
|
curl --fail https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.x64.dylib --output libCwtch.x64.dylib
|
||||||
curl https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.arm64.dylib --output libCwtch.arm64.dylib
|
curl --fail https://build.openprivacy.ca/files/libCwtch-go-macos-$VERSION/libCwtch.arm64.dylib --output libCwtch.arm64.dylib
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
$Env:VERSION = type LIBCWTCH-GO.version
|
$Env:VERSION = type LIBCWTCH-GO.version
|
||||||
echo $Env:VERSION
|
echo $Env:VERSION
|
||||||
|
|
||||||
|
# This should automatically fail on error...
|
||||||
Invoke-WebRequest -Uri https://build.openprivacy.ca/files/libCwtch-go-$Env:VERSION/libCwtch.dll -OutFile windows/libCwtch.dll
|
Invoke-WebRequest -Uri https://build.openprivacy.ca/files/libCwtch-go-$Env:VERSION/libCwtch.dll -OutFile windows/libCwtch.dll
|
||||||
|
|
||||||
#Invoke-WebRequest -Uri https://build.openprivacy.ca/files/libCwtch-go-$Env:VERSION/cwtch.aar -OutFile android/cwtch/cwtch.aar
|
#Invoke-WebRequest -Uri https://build.openprivacy.ca/files/libCwtch-go-$Env:VERSION/cwtch.aar -OutFile android/cwtch/cwtch.aar
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
VERSION=`cat LIBCWTCH-GO.version`
|
VERSION=`cat LIBCWTCH-GO.version`
|
||||||
echo $VERSION
|
echo $VERSION
|
||||||
|
|
||||||
wget https://build.openprivacy.ca/files/libCwtch-go-$VERSION/cwtch.aar -O android/cwtch/cwtch.aar
|
curl --fail https://build.openprivacy.ca/files/libCwtch-go-$VERSION/cwtch.aar --output android/cwtch/cwtch.aar
|
||||||
wget https://build.openprivacy.ca/files/libCwtch-go-$VERSION/libCwtch.so -O linux/libCwtch.so
|
curl --fail https://build.openprivacy.ca/files/libCwtch-go-$VERSION/libCwtch.so --output linux/libCwtch.so
|
Loading…
Reference in New Issue