From 1954121d82238a97f185dc0cdeaf460f5f4b6a77 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 5 Dec 2016 17:20:18 +0100 Subject: Fix build_release.bat --- build/msvc/build_release.bat | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'build/msvc/build_release.bat') diff --git a/build/msvc/build_release.bat b/build/msvc/build_release.bat index 87bfb28..e88cb6e 100644 --- a/build/msvc/build_release.bat +++ b/build/msvc/build_release.bat @@ -17,9 +17,8 @@ mkdir python27 mkdir python35 cd src -git clone https://github.com/astra-toolbox/astra-toolbox astra-%B_RELEASE% +git clone -b %B_RELEASE_TAG% https://github.com/astra-toolbox/astra-toolbox astra-%B_RELEASE% cd astra-%B_RELEASE% -git checkout %B_RELEASE_TAG% rd /s /q .git pause @@ -133,13 +132,10 @@ echo Sample code can be found in the samples\ directory. pause -cd %R%\release\matlab -python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-matlab-win-x64', 'zip', 'astra-%B_RELEASE%')" -cd %R%\release\python27 -python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-python27-win-x64', 'zip', 'astra-%B_RELEASE%')" -cd %R%\release\python35 -python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-python35-win-x64', 'zip', 'astra-%B_RELEASE%')" -cd %R%\release\src -python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%', 'zip', 'astra-%B_RELEASE%')" +cd %R%\release +python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-matlab-win-x64', 'zip', 'matlab')" +python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-python27-win-x64', 'zip', 'python27')" +python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-python35-win-x64', 'zip', 'python35')" +python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%', 'zip', 'src')" pause -- cgit v1.2.3