File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 5252 paths :
5353 - out
5454 - coverage
55+ - package.json
5556
5657 build-windows :
5758 executor : win/default
@@ -226,6 +227,29 @@ jobs:
226227
227228# TODO: add test runs for each binary outside of a git project
228229
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+
229253workflows :
230254 version : 2
231255
@@ -258,3 +282,9 @@ workflows:
258282 - test-linux-without-git
259283 - test-macos-without-git
260284 - 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
6868codecov-macos
6969codecov.exe
7070.DS_Store
71+ .idea /*
Original file line number Diff line number Diff line change 22
33[ ![ 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 )
44
5+ ## This is a work in progress.
6+
57## Steps to develop
68
79- ` make clean `
You can’t perform that action at this time.
0 commit comments