Try to fix appveyor deploy
REM Needed to enable to define OSQP_BIN within the file
@setlocal enabledelayedexpansion
+IF "%APPVEYOR_REPO_TAG%" == "true" (
+
+ REM Deply only on tags (releases)
set OSQP_VERSION="0.6.0.dev1"
set OSQP_PACKAGE_NAME="OSQP"
IF NOT "!OSQP_VERSION!"=="!OSQP_VERSION:dev=!" (
@@ -10,8 +13,6 @@ IF NOT "!OSQP_VERSION!"=="!OSQP_VERSION:dev=!" (
set OSQP_PACKAGE_NAME="!OSQP_PACKAGE_NAME!-dev"
)
-IF "%APPVEYOR_REPO_TAG%" == "true" (
-
REM Build C libraries
cd %APPVEYOR_BUILD_FOLDER%
del /F /Q build
