File tree 2 files changed +24
-16
lines changed
2 files changed +24
-16
lines changed Original file line number Diff line number Diff line change @@ -29,22 +29,29 @@ after_success:
29
29
- docker run -t -d debian9.4
30
30
- docker cp $(docker ps -n 1 -q):/usr/share/apps/qhttpserver/packages/ $HOME
31
31
32
+ stages :
33
+ - test
34
+ - before_deploy
35
+ - deploy
36
+
32
37
jobs :
33
38
include :
34
39
- stage : before_deploy
35
- git config --local user.name "Gael de Chalendar"
36
- git config --local user.email "kleag@free.fr"
37
- git tag "$(git log --date=iso -1 | grep Date | sed -e 's/Date:\ *//' -e 's/\+.*//' -e 's/[- :]//g')-$(git log --format=%h --abbrev=8 -1)" || true
38
- -stage : deploy
39
- provider : releases
40
- api_key :
41
- secure : F16J7J9a+VNEBwSiAksWxnF7c1M8Zg0+Tg8WGRRYy2p5aqR83Gj8/3M+SIPNw/Dzxj8+Sid1QkIZ42jISzoDKO3bJ0cX7ymqGy3bwqMMsue6l2TAa/heJKpaGroyLtjZRgD2pGtHigC8W1BOEz+5KhVBwWAYDF92TpluvyklGoA=
42
- file_glob : true
43
- file : $HOME/packages/*.deb
44
- skip_cleanup : true
45
- on :
46
- repo : aymara/qhttpserver
47
- tags : false
48
- branches :
49
- except :
50
- - /^\d\d\d\d\d\d\d\d\d\d\d\d\d\d-[\da-f]+$/
40
+ before_deploy :
41
+ git config --local user.name "Gael de Chalendar"
42
+ git config --local user.email "kleag@free.fr"
43
+ git tag "$(git log --date=iso -1 | grep Date | sed -e 's/Date:\ *//' -e 's/\+.*//' -e 's/[- :]//g')-$(git log --format=%h --abbrev=8 -1)" || true
44
+ - stage : deploy
45
+ deploy :
46
+ provider : releases
47
+ api_key :
48
+ secure : F16J7J9a+VNEBwSiAksWxnF7c1M8Zg0+Tg8WGRRYy2p5aqR83Gj8/3M+SIPNw/Dzxj8+Sid1QkIZ42jISzoDKO3bJ0cX7ymqGy3bwqMMsue6l2TAa/heJKpaGroyLtjZRgD2pGtHigC8W1BOEz+5KhVBwWAYDF92TpluvyklGoA=
49
+ file_glob : true
50
+ file : $HOME/packages/*.deb
51
+ skip_cleanup : true
52
+ on :
53
+ repo : aymara/qhttpserver
54
+ tags : false
55
+ branches :
56
+ except :
57
+ - /^\d\d\d\d\d\d\d\d\d\d\d\d\d\d-[\da-f]+$/
Original file line number Diff line number Diff line change @@ -19,3 +19,4 @@ RUN install -D /src/qhttpserver/build/qhttpserver-0.0.1-Linux.deb /usr/share/app
19
19
20
20
# install github-release to be able to deploy packages
21
21
RUN wget https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2 && tar xjf linux-amd64-github-release.tar.bz2 && cp bin/linux/amd64/github-release /usr/bin
22
+
You can’t perform that action at this time.
0 commit comments