We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d536ccd commit 7b86241Copy full SHA for 7b86241
package.sh
@@ -1,12 +1,22 @@
1
#!/bin/bash
2
3
+set -e
4
+
5
6
7
echo "Run pyinstaller..."
8
9
pyinstaller resources/ccli.spec
10
11
echo "Create tarball for $TRAVIS_OS_NAME -> $TRAVIS_CPU_ARCH..."
12
-tar cvfz product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz dist
13
+if [ "$TRAVIS_OS_NAME" == "windows" ]; then
14
+ tar.exe -a -c -f product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.zip dist
15
+else
16
+ tar cvfz product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz dist
17
+fi
18
19
20
rm -rf dist
21
22
echo "product-sync_${TRAVIS_TAG}_${TRAVIS_OS_NAME}_${TRAVIS_CPU_ARCH}.tar.gz ready!"
0 commit comments