summaryrefslogtreecommitdiffstats
path: root/build/msvc/build_release.bat
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-12-05 17:20:18 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-12-09 15:40:29 +0100
commit1954121d82238a97f185dc0cdeaf460f5f4b6a77 (patch)
treee17f849d11ed7c109310168f58a2269561b080a9 /build/msvc/build_release.bat
parent510f84ea64cca403d4ce85f3fdb77596ce06463a (diff)
downloadastra-1954121d82238a97f185dc0cdeaf460f5f4b6a77.tar.gz
astra-1954121d82238a97f185dc0cdeaf460f5f4b6a77.tar.bz2
astra-1954121d82238a97f185dc0cdeaf460f5f4b6a77.tar.xz
astra-1954121d82238a97f185dc0cdeaf460f5f4b6a77.zip
Fix build_release.bat
Diffstat (limited to 'build/msvc/build_release.bat')
-rw-r--r--build/msvc/build_release.bat16
1 files changed, 6 insertions, 10 deletions
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