mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Updated release scripts.
This commit is contained in:
parent
b98888e128
commit
923e48d64c
4 changed files with 39 additions and 0 deletions
39
releases/build-bundle-win64.bat
Executable file
39
releases/build-bundle-win64.bat
Executable file
|
@ -0,0 +1,39 @@
|
|||
@ECHO OFF
|
||||
|
||||
IF [%1] == [] GOTO usage
|
||||
|
||||
ECHO 1) Deleting old bundle
|
||||
CALL DEL /F /S /Q bundle
|
||||
|
||||
ECHO 2) Downloading new WeKan.zip
|
||||
CALL DEL wekan-%1.zip
|
||||
CALL wget https://releases.wekan.team/wekan-%1.zip
|
||||
|
||||
ECHO 3) Unarchiving new WeKan
|
||||
CALL 7z x wekan-%1.zip
|
||||
|
||||
ECHO 4) Reinstalling bcrypt
|
||||
CD bundle\programs\server\npm\node_modules\meteor\accounts-password
|
||||
REM CALL npm remove bcrypt
|
||||
REM CALL npm install bcrypt
|
||||
REM # Requires building from source https://github.com/meteor/meteor/issues/11682
|
||||
CALL npm rebuild --build-from-source
|
||||
CD ..\..\..\..\..\..\..
|
||||
|
||||
ECHO 5) Packing new WeKan.zip
|
||||
CALL DEL wekan-%1-amd64-windows.zip
|
||||
CALL 7z a wekan-%1-amd64-windows.zip bundle
|
||||
|
||||
ECHO 6) Copying WeKan.zip to sync directory
|
||||
CALL COPY wekan-%1-amd64-windows.zip ..\win2016\
|
||||
|
||||
ECHO 7) Done. Starting WeKan.
|
||||
CALL start-wekan.bat
|
||||
|
||||
GOTO :eof
|
||||
|
||||
:usage
|
||||
ECHO Usage: build-windows.bat VERSION-NUMBER
|
||||
ECHO Example: build-windows.bat 5.00
|
||||
|
||||
:eof
|
Loading…
Add table
Add a link
Reference in a new issue