Skip to content

Commit

Permalink
build: move variables to thisBuild common to fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Baliasnikov committed Mar 20, 2023
1 parent fd87a73 commit 98ef45f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions castor/lib/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ inThisBuild(
run / connectInput := true,
versionScheme := Some("semver-spec"),
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")),
releaseUseGlobalVersion := false,
githubOwner := "input-output-hk",
githubRepository := "atala-prism-building-blocks",
resolvers += Resolver.githubPackages("input-output-hk"),
resolvers += "JetBrains Space Maven Repository" at "https://maven.pkg.jetbrains.space/public/p/kotlinx-coroutines/maven"
)
Expand All @@ -27,9 +30,6 @@ sys.env
.map { _ =>
println("### Configure release process ###")
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._
ThisBuild / releaseUseGlobalVersion := false
ThisBuild / githubOwner := "input-output-hk"
ThisBuild / githubRepository := "atala-prism-building-blocks"
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
Expand Down
6 changes: 3 additions & 3 deletions mercury/mercury-library/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ inThisBuild(
fork := true,
run / connectInput := true,
versionScheme := Some("semver-spec"),
releaseUseGlobalVersion := false,
githubOwner := "input-output-hk",
githubRepository := "atala-prism-building-blocks"
)
)

Expand All @@ -22,9 +25,6 @@ sys.env
.map { _ =>
println("### Configure release process ###")
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._
ThisBuild / releaseUseGlobalVersion := false
ThisBuild / githubOwner := "input-output-hk"
ThisBuild / githubRepository := "atala-prism-building-blocks"
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
Expand Down
8 changes: 4 additions & 4 deletions prism-node/client/scala-client/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ inThisBuild(
scalaVersion := "3.2.2",
fork := true,
run / connectInput := true,
versionScheme := Some("semver-spec")
versionScheme := Some("semver-spec"),
releaseUseGlobalVersion := false,
githubOwner := "input-output-hk",
githubRepository := "atala-prism-building-blocks"
)
)

Expand All @@ -24,9 +27,6 @@ sys.env
.map { _ =>
println("### Configure release process ###")
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._
ThisBuild / releaseUseGlobalVersion := false
ThisBuild / githubOwner := "input-output-hk"
ThisBuild / githubRepository := "atala-prism-building-blocks"
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
Expand Down
6 changes: 3 additions & 3 deletions shared/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ inThisBuild(
fork := true,
run / connectInput := true,
versionScheme := Some("semver-spec"),
releaseUseGlobalVersion := false,
githubOwner := "input-output-hk",
githubRepository := "atala-prism-building-blocks"
)
)

Expand All @@ -26,9 +29,6 @@ sys.env
.map { _ =>
println("### Configure release process ###")
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._
ThisBuild / releaseUseGlobalVersion := false
ThisBuild / githubOwner := "input-output-hk"
ThisBuild / githubRepository := "atala-prism-building-blocks"
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
Expand Down

0 comments on commit 98ef45f

Please sign in to comment.