diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d0dac1..77f5c54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,8 +25,8 @@ jobs: - name: Publish package run: | - sbt "clean;+zio-opentelemetry-datadog-tracing-provider/ci-release" - sbt "clean;sbt-datadog/ci-release" + sbt releaseZioOpentelemetryDatadogTracingProvider + sbt releaseSbtDatadog env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} diff --git a/build.sbt b/build.sbt index c99c417..35ee884 100644 --- a/build.sbt +++ b/build.sbt @@ -14,6 +14,9 @@ ThisBuild / developers := ) ) +addCommandAlias("releaseSbtDatadog", "project sbt-datadog;clean;ci-release") +addCommandAlias("releaseZioOpentelemetryDatadogTracingProvider", "project zio-opentelemetry-datadog-tracing-provider;clean;+ci-release") + val scala212 = "2.12.19" val scala213 = "2.13.14" val scala3 = "3.3.3" @@ -22,7 +25,6 @@ lazy val root = project .in(file(".")) .settings( - name := "sbt-datadog", publish / skip := true, crossScalaVersions := Nil, // https://www.scala-sbt.org/1.x/docs/Cross-Build.html#Cross+building+a+project+statefully, )