-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDeployRelease.bat
More file actions
23 lines (13 loc) · 830 Bytes
/
DeployRelease.bat
File metadata and controls
23 lines (13 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SET /P version=Enter a version (example: 0.423b):
IF NOT DEFINED version SET "version=UNKNOWN"
SET sevenZipLocation="C:\Program Files\7-Zip\7z.exe"
SET deployDir=.\Deploy\TCodeRemote_v%version%_Release\
SET deployZipDir=.\Deploy\
xcopy .\src\TCode_Remote\bin\Release\*.exe %deployDir% /s /i /K /D /H /Y
xcopy .\src\TCode_Remote\bin\Release\*.config %deployDir% /s /i /K /D /H /Y
xcopy .\src\TCode_Remote\bin\Release\*.dll %deployDir% /s /i /K /D /H /Y
xcopy .\src\TCode_Remote\bin\Release\*.winmd %deployDir% /s /i /K /D /H /Y
xcopy "Virtual serial port howto.pdf" %deployDir% /i /K /D /H /Y
%sevenZipLocation% a -tzip %deployZipDir%TCodeRemote_v%version%_Release.zip %deployDir%
xcopy %deployZipDir%TCodeRemote_v%version%_Release.zip "\\RASPBERRYPI.local\STK\Hardware\my software\TCode_Remote\" /s /i /K /D /H /Y
pause