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() {
30
30
31
31
# copying the main binary
32
32
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
34
36
35
37
# manpage, readme and license
36
38
cp README.md " $tempdir /$package_name "
37
39
cp LICENSE " $tempdir /$package_name "
38
40
39
41
# archiving
40
42
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
42
48
popd
43
49
rm -r " $tempdir "
44
50
}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -57,8 +57,7 @@ matrix:
57
57
sudo : required
58
58
59
59
before_install :
60
- - cd src/bat
61
- - ci/before_install.bash
60
+ - ci/before_install.sh
62
61
63
62
env :
64
63
global :
@@ -73,10 +72,10 @@ install:
73
72
- if [[ $TRAVIS_OS_NAME = linux && $HOST != $TARGET ]]; then rustup target add $TARGET; fi
74
73
75
74
script :
76
- - ci/script.bash
75
+ - ci/script.sh
77
76
78
77
before_deploy :
79
- - bash ci/before_deploy.bash
78
+ - bash ci/before_deploy.sh
80
79
81
80
deploy :
82
81
provider : releases
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments