Skip to content

Commit

Permalink
fix zip under ms win
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Faraone committed Sep 14, 2020
1 parent f342702 commit 3e40e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pyinstaller resources/ccli.spec
echo "Create tarball for $TRAVIS_OS_NAME -> $TRAVIS_CPU_ARCH..."

if [ "$TRAVIS_OS_NAME" == "windows" ]; then
tar.exe -a -c -f product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.zip dist
powershell.exe -nologo -noprofile -command "& { compress-archive -path '.\dist' -destinationpath '.\product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.zip' }"
ARCH_EXT="zip"
else
tar cvfz product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz dist
Expand Down

0 comments on commit 3e40e3f

Please sign in to comment.