File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ before_deploy:
2525- tar xvf .travis/keys.tar
2626deploy :
2727 provider : script
28- script : sbt +publishSigned sonatypeReleaseAll
28+ script : sbt +publishSigned " sonatypeReleaseAll com.criteo"
2929 skip_cleanup : true
3030 on :
3131 tags : true
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ lazy val commonSettings = Seq(
1111 " criteo-oss" ,
1212 sys.env.getOrElse(" SONATYPE_PASSWORD" , " " )
1313 ),
14+ publishTo := Some (
15+ if (isSnapshot.value)
16+ Opts .resolver.sonatypeSnapshots
17+ else
18+ Opts .resolver.sonatypeStaging
19+ ),
1420 pgpPassphrase := sys.env.get(" SONATYPE_PASSWORD" ).map(_.toArray),
1521 pgpSecretRing := file(" .travis/secring.gpg" ),
1622 pgpPublicRing := file(" .travis/pubring.gpg" ),
@@ -100,6 +106,7 @@ lazy val root = (project in file("."))
100106lazy val example = (project in file(" example" ))
101107 .settings(commonSettings : _* )
102108 .settings(
109+ skip in publish := true ,
103110 libraryDependencies ++= Seq (
104111 " org.slf4j" % " slf4j-simple" % " 1.7.25"
105112 )
You can’t perform that action at this time.
0 commit comments