File tree 3 files changed +33
-0
lines changed
3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 52
52
paths :
53
53
- out
54
54
- coverage
55
+ - package.json
55
56
56
57
build-windows :
57
58
executor : win/default
@@ -226,6 +227,29 @@ jobs:
226
227
227
228
# TODO: add test runs for each binary outside of a git project
228
229
230
+ deploy :
231
+ docker :
232
+ - image : circleci/node:10.16.3
233
+ steps :
234
+ - attach_workspace :
235
+ at : .
236
+ - run :
237
+ name : Install GHR
238
+ command : >
239
+ wget
240
+ https://github.com/tcnksm/ghr/releases/download/v0.5.4/ghr_v0.5.4_linux_amd64.zip
241
+
242
+ unzip ghr_v0.5.4_linux_amd64.zip
243
+ - run :
244
+ name : Package
245
+ command : >
246
+ RELEASE_TAG=v$(cat package.json | jq --raw-output
247
+ .version)_$CIRCLE_BUILD_NUM
248
+
249
+ echo $RELEASE_TAG
250
+
251
+ ./ghr -u codecov -r uploader --replace $RELEASE_TAG out
252
+
229
253
workflows :
230
254
version : 2
231
255
@@ -258,3 +282,9 @@ workflows:
258
282
- test-linux-without-git
259
283
- test-macos-without-git
260
284
- test-windows-without-git
285
+ - deploy :
286
+ requires :
287
+ - review
288
+ filters :
289
+ branches :
290
+ only : master
Original file line number Diff line number Diff line change @@ -68,3 +68,4 @@ codecov
68
68
codecov-macos
69
69
codecov.exe
70
70
.DS_Store
71
+ .idea /*
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ CircleCI] ( https://circleci.com/gh/codecov/uploader.svg?style=shield&circle-token=def755bf76a1d8c36436c3115530c7eac7fa30e0 )] ( https://circleci.com/gh/codecov/uploader ) [ ![ codecov] ( https://codecov.io/gh/codecov/uploader/branch/master/graph/badge.svg?token=X1gImxfIya )] ( https://codecov.io/gh/codecov/uploader )
4
4
5
+ ## This is a work in progress.
6
+
5
7
## Steps to develop
6
8
7
9
- ` make clean `
You can’t perform that action at this time.
0 commit comments