diff --git a/appveyor.yml b/appveyor.yml index 932000eda2..5c0b7e2c3d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,7 +29,8 @@ build_script: - cmake --build . --config Release --target PACKAGE # Rename package: - cd c:\projects\mrpt - - cmd: IF NOT DEFINED APPVEYOR_REPO_TAG_NAME SET PKG_NAME=branch-%APPVEYOR_REPO_BRANCH% ELSE SET PKG_NAME=release-%APPVEYOR_REPO_TAG_NAME% + - cmd: IF NOT DEFINED APPVEYOR_REPO_TAG_NAME SET PKG_NAME=branch-%APPVEYOR_REPO_BRANCH% + - cmd: IF DEFINED APPVEYOR_REPO_TAG_NAME SET PKG_NAME=release-%APPVEYOR_REPO_TAG_NAME% - cmd: move c:\projects\mrpt\build\MRPT*.exe c:\projects\mrpt\mrpt-%PKG_NAME%.exe - dir