File tree Expand file tree Collapse file tree 7 files changed +11
-32
lines changed
Expand file tree Collapse file tree 7 files changed +11
-32
lines changed Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -30,15 +30,21 @@ pack() {
3030
3131 # copying the main binary
3232 cp " target/$TARGET /release/$PROJECT_NAME " " $tempdir /$package_name /"
33- " ${gcc_prefix} " strip " $tempdir /$package_name /$PROJECT_NAME "
33+ if [ " $TRAVIS_OS_NAME " != windows ]; then
34+ " ${gcc_prefix} " strip " $tempdir /$package_name /$PROJECT_NAME "
35+ fi
3436
3537 # manpage, readme and license
3638 cp README.md " $tempdir /$package_name "
3739 cp LICENSE " $tempdir /$package_name "
3840
3941 # archiving
4042 pushd " $tempdir "
41- tar czf " $out_dir /$package_name .tar.gz" " $package_name " /*
43+ if [ " $TRAVIS_OS_NAME " = windows ]; then
44+ 7z a " $out_dir /$package_name .zip" " $package_name " /*
45+ else
46+ tar czf " $out_dir /$package_name .tar.gz" " $package_name " /*
47+ fi
4248 popd
4349 rm -r " $tempdir "
4450}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -57,8 +57,7 @@ matrix:
5757sudo : required
5858
5959before_install :
60- - cd src/bat
61- - ci/before_install.bash
60+ - ci/before_install.sh
6261
6362env :
6463 global :
@@ -73,10 +72,10 @@ install:
7372 - if [[ $TRAVIS_OS_NAME = linux && $HOST != $TARGET ]]; then rustup target add $TARGET; fi
7473
7574script :
76- - ci/script.bash
75+ - ci/script.sh
7776
7877before_deploy :
79- - bash ci/before_deploy.bash
78+ - bash ci/before_deploy.sh
8079
8180deploy :
8281 provider : releases
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments