version=`python setup.py --version`
export EMBED_FAM_AGENT=yes
hosts="windows"
pkg_types="msi"
fab clone_fam
if [[ version -eq "3.10" ]]; then
fab -H root@centos-5,root@centos-5-32 -P build_rpm_deps --colorize-errors --ssh-config-path=/root/.ssh/config --user=root
hosts="$hosts,root@ubuntu-1004,root@ubuntu-1004-32,root@centos-5,root@centos-5-32"
pkg_types="$pkg_types_deb_rpm"
fi
fab -H $hosts -P build_binary --colorize-errors --ssh-config-path=/root/.ssh/config --user=root
fab -H ubuntu-1204 build_nsis --colorize-errors --ssh-config-path=/root/.ssh/config --user=root
fab publish_binary:pkg_types=$pkg_types