Skip to content

Commit b734a52

Browse files
committed
Fix: Race in uploading builds
1 parent 0ca28a9 commit b734a52

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UploadScript.sh

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ declare -r max=4
88
declare i=0
99

1010
function wrap() {
11+
mono_version=$(mono --version | awk '/version/ { print $5 }')
12+
if [ "$mono_version" != "3.2.8" ] ;
13+
then
14+
echo "Wrong Mono version- Not uploading this build"
15+
exit
16+
fi
1117
local cmd=$1 ; shift
1218
retry $cmd "$@"
1319
local success=$?

0 commit comments

Comments
 (0)