File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,25 +7,29 @@ matrix:
7
7
sudo : required
8
8
install : " ./travis-install.sh"
9
9
script : make test
10
- - os : osx
10
+ - &osx_build
11
+ os : osx
11
12
compiler : clang
12
13
install : " ./travis-install.sh"
13
14
script : make xcode/test
14
15
before_deploy :
15
16
- make xcode/dist
16
17
- |
17
- zip -r rime-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip \
18
+ zip -r ${RIME_VARIANT:- rime} -${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip \
18
19
dist thirdparty/bin thirdparty/share \
19
20
-x '*/curl.exe'
20
21
deploy :
21
22
provider : releases
22
23
api_key :
23
24
secure : OXzu4Au7Uri/4pugRsQATYv2+QHNRfx64jRBSTdYUJ8ehdg67HHJrofxhUG2Q+lNZlm2VO51ihOsmp9c3gYtT+ohSxD3/y3z8VDw6k7a+5ihT+Svrr1fpHf30I2DupGe5bO1MFB9rltZ+kv/nERciT5n1jOO5ZxefNCRac2aylE=
24
- file : rime-${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip
25
+ file : ${RIME_VARIANT:- rime} -${TRAVIS_TAG}-${TRAVIS_OS_NAME}.zip
25
26
skip_cleanup : true
26
27
name : " librime ${TRAVIS_TAG}"
27
28
body : " chore(release): ${TRAVIS_TAG} :tada:"
28
29
draft : true
29
30
on :
30
31
repo : rime/librime
31
32
tags : true
33
+ - << : *osx_build
34
+ if : tag IS present
35
+ env : RIME_PLUGINS="${RIME_BUNDLED_PLUGINS}" RIME_VARIANT="rime-with-plugins"
You can’t perform that action at this time.
0 commit comments