Skip to content

Commit 3f5ad6a

Browse files
committed
Fix: Race in uploading builds
Only affected build deb
1 parent 0ca28a9 commit 3f5ad6a

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 [ "$travis_os_name" = "linux" ] & [ "$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)