mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 04:39:37 +03:00
Fixed build script to generate the distributable file just with project files from the project root
This commit is contained in:
parent
5ca4bc928d
commit
56c9abcfd0
1 changed files with 5 additions and 5 deletions
10
build.sh
10
build.sh
|
@ -34,11 +34,11 @@ rm php*
|
|||
rm README.md
|
||||
rm -r build
|
||||
rm -f data/database.sqlite
|
||||
rm -f data/{cache,log,proxies}/{*,.gitignore}
|
||||
rm -f config/params/{*,.gitignore}
|
||||
rm -f config/autoload/{{,*.}local.php{,.dist},.gitignore}
|
||||
rm -rf data/{cache,log,proxies}/{*,.gitignore}
|
||||
rm -rf config/params/{*,.gitignore}
|
||||
rm -rf config/autoload/{{,*.}local.php{,.dist},.gitignore}
|
||||
|
||||
# Compressing file
|
||||
rm -f "${projectdir}"/build/Shlink_${version}.dist.zip
|
||||
zip -r "${projectdir}"/build/Shlink_${version}.dist.zip "${builtcontent}"
|
||||
rm -f "${projectdir}"/build/shlink_${version}_dist.zip
|
||||
zip -r "${projectdir}"/build/shlink_${version}_dist.zip .
|
||||
rm -rf "${builtcontent}"
|
||||
|
|
Loading…
Reference in a new issue