Skip to content

Commit

Permalink
Using zip's quiet mode
Browse files Browse the repository at this point in the history
  • Loading branch information
afska committed Oct 5, 2018
1 parent 1a9345e commit 58d0dd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ echo "CREATING '$TYPE' ONE-FILE PACKAGES..."
LINUX_NAME_1=gobstones-$(commertialName $TYPE)-linux-$PACKAGE_VERSION.zip
WINDOWS_NAME_1=gobstones-$(commertialName $TYPE)-windows-$PACKAGE_VERSION.exe
WINDOWS32_NAME_1=gobstones-$(commertialName $TYPE)-windows-ia32-$PACKAGE_VERSION.zip
cd ./dist/linux-unpacked ; zip -r ../../$LINUX_NAME_1 . ; cd ../..
cd ./dist/win-ia32-unpacked ; zip -r ../../$WINDOWS32_NAME_1 . ; cd ../..
cd ./dist/linux-unpacked ; zip -rq ../../$LINUX_NAME_1 . ; cd ../..
cd ./dist/win-ia32-unpacked ; zip -rq ../../$WINDOWS32_NAME_1 . ; cd ../..
cp "./dist/gobstones-$(commertialName $TYPE)_$(echo $PACKAGE_VERSION)_win.exe" $WINDOWS_NAME_1
mv "$LINUX_NAME_1" node_modules/
mv "$WINDOWS_NAME_1" node_modules/
Expand All @@ -69,7 +69,7 @@ build
echo "CREATING '$TYPE' ONE-FILE PACKAGES..."
LINUX_NAME_2=gobstones-$(commertialName $TYPE)-linux-$PACKAGE_VERSION.zip
WINDOWS_NAME_2=gobstones-$(commertialName $TYPE)-windows-$PACKAGE_VERSION.exe
cd ./dist/linux-unpacked ; zip -r ../../$LINUX_NAME_2 . ; cd ../..
cd ./dist/linux-unpacked ; zip -rq ../../$LINUX_NAME_2 . ; cd ../..
cp "./dist/gobstones-$(commertialName $TYPE)_$(echo $PACKAGE_VERSION)_win.exe" $WINDOWS_NAME_2
mv "$LINUX_NAME_2" node_modules/
mv "$WINDOWS_NAME_2" node_modules/
Expand All @@ -83,7 +83,7 @@ build
echo "CREATING '$TYPE' ONE-FILE PACKAGES..."
LINUX_NAME_3=gobstones-$(commertialName $TYPE)-linux-$PACKAGE_VERSION.zip
WINDOWS_NAME_3=gobstones-$(commertialName $TYPE)-windows-$PACKAGE_VERSION.exe
cd ./dist/linux-unpacked ; zip -r ../../$LINUX_NAME_3 . ; cd ../..
cd ./dist/linux-unpacked ; zip -rq ../../$LINUX_NAME_3 . ; cd ../..
cp "./dist/gobstones-$(commertialName $TYPE)_$(echo $PACKAGE_VERSION)_win.exe" $WINDOWS_NAME_3
mv "$LINUX_NAME_3" node_modules/
mv "$WINDOWS_NAME_3" node_modules/
Expand Down

0 comments on commit 58d0dd8

Please sign in to comment.