File tree Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -17,26 +17,18 @@ jobs:
17
17
include :
18
18
- name : " MacOS build"
19
19
os : osx
20
- if : tag IS blank
21
20
script : travis_wait 60 scripts/ci.bash
22
21
23
22
git :
24
23
depth : 3
25
24
26
- before_deploy :
27
- - echo "$TAG" "$TRAVIS_COMMIT"
28
- - git config --local user.name "$USER_NAME"
29
- - git config --local user.email "$USER_EMAIL"
30
- - if ! git tag "$TAG" "$TRAVIS_COMMIT" ; then echo "$TAG already exists"; fi
31
- - if [[ -n "$PUSH_DOCKER" ]] ; then echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin ; fi
32
-
33
25
deploy :
34
26
- provider : releases
35
27
file_glob : true
36
28
draft : true
37
- tag_name : " $TAG "
29
+ tag_name : " $TRAVIS_TAG "
38
30
target_commitish : " $TRAVIS_COMMIT"
39
- name : " $TAG "
31
+ name : " $TRAVIS_TAG "
40
32
skip_cleanup : true
41
33
api_key :
42
34
secure : YL/x24KjYjgYXPcJWk3FV7FGxI79Mh6gBECQEcdlf3fkLEoKFVgzHBoUNWrFPzyR4tgLyWNAgcpD9Lkme1TRWTom7UPjXcwMNyLcLa+uec7ciSAnYD9ntLTpiCuPDD1u0LtRGclSi/EHQ+F8YVq+HZJpXTsJeAmOmihma3GVbGKSZr+BRum+0YZSG4w+o4TOlYzw/4bLWS52MogZcwpjd+hemBbgXLuGU2ziKv2vEKCZFbEeA16II4x1WLI4mutDdCeh7+3aLzGLwDa49NxtsVYNjyNFF75JhCTCNA55e2YMiLz9Uq69IXe/mi5F7xUaFfhIqqLNyKBnKeEOzu3dYnc+8n3LjnQ+00PmkF05nx9kBn3UfV1kwQGh6QbyDmTtBP07rtUMyI14aeQqHjxsaVRdMnwj9Q2DjXRr8UDqESZF0rmK3pHCXS2fBhIzLE8tLVW5Heiba2pQRFMHMZW+KBE97FzcFh7is90Ait3T8enfcd/PWFPYoBejDAdjwxwOkezh5N5ZkYquEfDYuWrFi6zRFCktsruaAcA+xGtTf9oilBBzUqu8Ie+YFWH5me83xakcblJWdaW/D2rLJAJH3m6LFm8lBqyUgDX5t/etob6CpDuYHu5D1J3XINOj/+aLAcadq6qlh70PMZS3zYffUu3JlzaD2amlSHIT8b5YXFc=
@@ -45,15 +37,7 @@ deploy:
45
37
- release/*.zip
46
38
on :
47
39
repo : cdr/code-server
48
- branch : master
49
-
50
- - provider : script
51
- skip_cleanup : true
52
- script : docker build -f ./scripts/ci.dockerfile -t codercom/code-server:"$TAG" . && docker push codercom/code-server:"$TAG"
53
- on :
54
- repo : cdr/code-server
55
- branch : master
56
- condition : -n "$PUSH_DOCKER"
40
+ tags : true
57
41
58
42
cache :
59
43
timeout : 1000
You can’t perform that action at this time.
0 commit comments