Skip to content

Commit 33b74ed

Browse files
committed
wip: Temporary version update
1 parent dedb0d2 commit 33b74ed

File tree

3 files changed

+6
-26
lines changed

3 files changed

+6
-26
lines changed

.circleci/config.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff 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-
154143
workflows:
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

jfrog

16.7 MB
Binary file not shown.

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import sbt._
22

33
object 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

0 commit comments

Comments
 (0)