@@ -172,7 +172,6 @@ lazy val scalafixRules = project
172
172
.settings(
173
173
scalaModuleAutomaticModuleName := None ,
174
174
organization := (compat212JVM / organization).value,
175
- publishTo := (compat212JVM / publishTo).value,
176
175
versionPolicyIntention := Compatibility .None ,
177
176
name := " scala-collection-migrations" ,
178
177
scalaVersion := scalafixScala212,
@@ -292,7 +291,6 @@ lazy val scalafixTests = project
292
291
.enablePlugins(BuildInfoPlugin , ScalafixTestkitPlugin )
293
292
294
293
val ciScalaVersion = sys.env.get(" CI_SCALA_VERSION" ).flatMap(Version .parse)
295
- val isTravisTag = sys.env.get(" CI_TAG" ).exists(_.nonEmpty)
296
294
val isScalaJs = sys.env.get(" CI_PLATFORM" ) == Some (" js" )
297
295
val isScalaNative = sys.env.get(" CI_PLATFORM" ) == Some (" native" )
298
296
val isScalafix = sys.env.get(" CI_MODE" ) == Some (" testScalafix" )
@@ -322,7 +320,6 @@ inThisBuild {
322
320
else {
323
321
List (
324
322
" CI_SCALA_VERSION" ,
325
- " CI_TAG" ,
326
323
" CI_PLATFORM" ,
327
324
" CI_MODE" ,
328
325
" CI_JDK" ,
@@ -352,31 +349,11 @@ inThisBuild {
352
349
compatProject
353
350
}
354
351
355
- val publishTask =
356
- if (isTravisTag && ! isBinaryCompat && jdkVersion == Some (8 )) {
357
- // we cannot run "ci-release" because that reads the `CI_RELEASE` / `CI_SONATYPE_RELEASE`
358
- // env vars, which we cannot modify from java (easily). so we inline what this command does.
359
- CiReleasePlugin .setupGpg()
360
- List (
361
- // same fix as https://github.com/olafurpg/sbt-ci-release/pull/66
362
- // need to replicate it here since we're not using the `ci-release` command
363
- " set pgpSecretRing := pgpSecretRing.value" ,
364
- " set pgpPublicRing := pgpPublicRing.value" ,
365
- s " $projectPrefix/publishSigned " ,
366
- " sonatypePrepare" ,
367
- " sonatypeBundleUpload" ,
368
- " sonatypeClose"
369
- )
370
- } else {
371
- Nil
372
- }
373
-
374
352
Seq (
375
353
List (s """ ++ ${sys.env.get(" CI_SCALA_VERSION" ).get}! """ ),
376
354
List (s " $projectPrefix/clean " ),
377
355
List (s " $testProjectPrefix/test " ),
378
356
List (s " $projectPrefix/publishLocal " ),
379
- publishTask
380
357
).flatten
381
358
}
382
359
0 commit comments