Skip to content

Commit

Permalink
Merge pull request #113 from codacy/publish-s3
Browse files Browse the repository at this point in the history
fix: Publish also to S3
  • Loading branch information
lolgab committed Jan 30, 2023
2 parents 6a10279 + 739c92f commit 431321d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
18 changes: 17 additions & 1 deletion .circleci/config.yml
Expand Up @@ -46,10 +46,13 @@ workflows:
only:
- master
- codacy/sbt_docker:
name: publish
name: publish_sonatype
context: CodacyAWS
use_sbt_native_client: false
steps:
- run:
name: Add sonatype setting
command: echo 'publicMvnPublish' > publishing.sbt
- run:
name: Retrieve GPG Keys
command: sbt retrieveGPGKeys
Expand All @@ -61,3 +64,16 @@ workflows:
command: sbt sonatypeBundleRelease
requires:
- tag_version
- codacy/sbt_docker:
name: publish_s3
context: CodacyAWS
use_sbt_native_client: false
steps:
- run:
name: Add s3 publishing setting
command: echo 'privateMvnPublish' > publishing.sbt
- run:
name: Publish to S3
command: sbt publish
requires:
- tag_version
2 changes: 0 additions & 2 deletions build.sbt
Expand Up @@ -31,6 +31,4 @@ scmInfo := Some(
pgpPassphrase := Option(System.getenv("SONATYPE_GPG_PASSPHRASE"))
.map(_.toCharArray)

publicMvnPublish

name := s"${name.value}_playjson${Dependencies.playVersion.split('.').take(2).mkString}"

0 comments on commit 431321d

Please sign in to comment.