Added ability to specify version in a file.
This commit is contained in:
parent
14097f26c8
commit
8378130388
5 changed files with 18 additions and 6 deletions
|
|
@ -2,6 +2,8 @@
|
|||
rm -rf Web2ExeLinux*.zip
|
||||
rm -rf Web2ExeLinux-CMD
|
||||
|
||||
VERSION=$(cat files/version.txt)
|
||||
|
||||
pyinstaller --onefile --hidden-import PIL.Jpeg2KImagePlugin --hidden-import pkg_resources --hidden-import PIL._imaging --hidden-import configobj --distpath Web2ExeLinux-CMD -n web2exe-linux command_line.py
|
||||
cp -rf files Web2ExeLinux-CMD/files
|
||||
rm -rf Web2ExeLinux-CMD/files/downloads/*
|
||||
|
|
@ -15,4 +17,4 @@ rm Web2ExeLinux/files/error.log Web2ExeLinux/files/last_project_path.txt Web2Exe
|
|||
|
||||
|
||||
zip -r -9 Web2ExeLinux-CMD.zip Web2ExeLinux-CMD/*
|
||||
zip -r -9 Web2ExeLinux-v0.3.1b.zip Web2ExeLinux
|
||||
zip -r -9 Web2ExeLinux-${VERSION}.zip Web2ExeLinux
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue