Skip to content

Commit 3e40e3f

Browse files
author
Francesco Faraone
committed
fix zip under ms win
1 parent f342702 commit 3e40e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pyinstaller resources/ccli.spec
1111
echo "Create tarball for $TRAVIS_OS_NAME -> $TRAVIS_CPU_ARCH..."
1212

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

0 commit comments

Comments
 (0)