File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 3434 - run :
3535 name : Build server
3636 command : docker-compose run sbt sbt assembly
37+ - persist_to_workspace :
38+ root : target/scala-2.12
39+ paths :
40+ - fossildb.jar
3741 - save_cache :
3842 key : cache-{{ .Branch }}
3943 paths :
@@ -108,6 +112,18 @@ jobs:
108112 command : >
109113 FOSSILDB_CLIENT_TAG=${CIRCLE_BRANCH}__${COMMON_BUILD_NUM}
110114 docker-compose run fossildb-health-check
115+ release_on_github :
116+ docker :
117+ - image : golang:1.9
118+ steps :
119+ - attach_workspace :
120+ at : /tmp/workspace
121+ - run :
122+ name : Get ghr
123+ command : go get github.com/tcnksm/ghr
124+ - run :
125+ name : Release jar on Github
126+ command : ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace test /tmp/workspace/fossildb.jar
111127
112128workflows :
113129 version : 2
@@ -125,3 +141,7 @@ workflows:
125141 - set_common_build_number
126142 - build_and_push_db
127143 - build_and_push_client
144+ - release_on_github :
145+ requires :
146+ - build_and_push_db
147+ - smoketest
You can’t perform that action at this time.
0 commit comments