File tree Expand file tree Collapse file tree 3 files changed +6
-26
lines changed Expand file tree Collapse file tree 3 files changed +6
-26
lines changed Original file line number Diff line number Diff line change @@ -129,28 +129,17 @@ jobs:
129129 command : |
130130 ./scripts/publish-native.sh -n codacy-coverage-reporter -m com.codacy.CodacyCoverageReporter -t docker $(cat .version)
131131
132- cp ~/workdir/codacy-coverage-reporter-linux-$(cat .version) ~/workdir/codacy-coverage-reporter-linux
132+ mkdir -p /tmp/binary
133+ cp ~/workdir/codacy-coverage-reporter-linux-$(cat .version) /tmp/binary/codacy-coverage-reporter-linux
133134 curl -fL https://getcli.jfrog.io | sh
134135 ./jfrog bt config --interactive=false --user codacy-ci --key $BINTRAY_API_KEY
135- ./jfrog bt upload --user codacy-ci --key $BINTRAY_API_KEY --publish $HOME/workdir codacy/Binaries/codacy-coverage-reporter/$(cat .version) codacy-coverage-reporter-linux
136+ ./jfrog bt upload --user codacy-ci --key $BINTRAY_API_KEY --publish /tmp/binary codacy/Binaries/codacy-coverage-reporter/$(cat .version) codacy-coverage-reporter-linux
136137
137138 go get github.com/tcnksm/ghr
138- ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ~/workdir/codacy-coverage-reporter-linux-$(cat .version)
139+ ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete $(cat .version) ~/workdir/codacy-coverage-reporter-linux-$(cat .version)
139140 - *clean_sbt_cache
140141 - *save_sbt_cache
141142
142- tag_version :
143- << : *default_sbt_job
144- steps :
145- - attach_workspace :
146- at : ~/
147- - add_ssh_keys :
148- fingerprints :
149- - " df:83:d7:c7:d5:79:06:c2:3b:d1:fd:e2:a3:d1:12:c5"
150- - run :
151- name : Tag
152- command : git tag $(cat .version) && git push --tags
153-
154143workflows :
155144 version : 2
156145
@@ -180,7 +169,7 @@ workflows:
180169 requires :
181170 - compile_and_test
182171 - checkfmt
183- - publish_native :
172+ - publish_binary :
184173 filters :
185174 branches :
186175 only :
@@ -190,12 +179,3 @@ workflows:
190179 requires :
191180 - compile_and_test
192181 - checkfmt
193- - tag_version :
194- filters :
195- branches :
196- only :
197- - master
198- - native-binary
199- context : CodacyAWS
200- requires :
201- - publish
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import sbt._
22
33object Dependencies {
44
5- val coverageParser = " com.codacy" %% " coverage-parser" % " fixes-SNAPSHOT "
5+ val coverageParser = " com.codacy" %% " coverage-parser" % " 2.0.14-fixes.acfbcda "
66
77 val caseApp = " com.github.alexarchambault" %% " case-app" % " 1.2.0"
88
You can’t perform that action at this time.
0 commit comments