mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 04:39:37 +03:00
Updated build script so that generated zip contains one folder
This commit is contained in:
parent
c45cb7bacb
commit
04c479148a
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -8,7 +8,7 @@ if [ "$#" -ne 1 ]; then
|
|||
fi
|
||||
|
||||
version=$1
|
||||
builtcontent=$(readlink -f '../shlink_${version}_dist')
|
||||
builtcontent=$(readlink -f "../shlink_${version}_dist")
|
||||
projectdir=$(pwd)
|
||||
|
||||
# Copy project content to temp dir
|
||||
|
@ -44,5 +44,5 @@ rm -rf config/autoload/{{,*.}local.php{,.dist},.gitignore}
|
|||
|
||||
# Compressing file
|
||||
rm -f "${projectdir}"/build/shlink_${version}_dist.zip
|
||||
zip -ry "${projectdir}"/build/shlink_${version}_dist.zip .
|
||||
zip -ry "${projectdir}"/build/shlink_${version}_dist.zip "../shlink_${version}_dist"
|
||||
rm -rf "${builtcontent}"
|
||||
|
|
Loading…
Reference in a new issue