From f18845ff8c5fcce1eb68747846f8f1320dc1e930 Mon Sep 17 00:00:00 2001 From: Pierre Kisters <1524059+lhns@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:04:10 +0200 Subject: [PATCH] remove publishing to old maven org --- .github/workflows/publish.yml | 2 -- build.sbt | 20 ++------------------ 2 files changed, 2 insertions(+), 20 deletions(-) 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 )