diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 29b1967..62f8439 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,5 +24,3 @@ jobs: SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} run: | sbt "; test; sonatypeBundleClean; publishSigned; sonatypeBundleRelease" - sed -i -e 's/organization := "de.lhns"/organization := "de.lolhens"/' build.sbt - sbt "; sonatypeBundleClean; publishSigned; sonatypeBundleRelease" diff --git a/build.sbt b/build.sbt index 8c8c2db..54b0d1b 100644 --- a/build.sbt +++ b/build.sbt @@ -36,12 +36,7 @@ lazy val commonSettings: SettingsDefinition = Def.settings( publishTo := sonatypePublishToBundle.value, - sonatypeCredentialHost := { - if (sonatypeProfileName.value == "de.lolhens") - "oss.sonatype.org" - else - "s01.oss.sonatype.org" - }, + sonatypeCredentialHost := "s01.oss.sonatype.org", credentials ++= (for { username <- sys.env.get("SONATYPE_USERNAME") @@ -51,18 +46,7 @@ lazy val commonSettings: SettingsDefinition = Def.settings( sonatypeCredentialHost.value, username, password - )).toList, - - pomExtra := { - if (sonatypeProfileName.value == "de.lolhens") - - - de.lhns - - - else - pomExtra.value - } + )).toList )