diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c2fea214..6cd5a096d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -256,7 +256,6 @@ jobs: run: | echo "RELEASE_VERSION=$RELEASE_VERSION" .github/scripts/release-snapshot.sh - gradle --debug publish - name: Create release in GitHub and OSSRH if: needs.workflow_config.outputs.do_release == 'true' diff --git a/build.gradle.kts b/build.gradle.kts index 86d93bd06..7d435cc2c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -118,9 +118,10 @@ publishing { repositories { maven { name = "OSSRH" - val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" - val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/" - url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl) + // val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" + // val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/" + // url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl) + url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" credentials { username = System.getenv("OSSRH_USERNAME") password = System.getenv("OSSRH_PASSWORD") diff --git a/plantuml-mit/build.gradle.kts b/plantuml-mit/build.gradle.kts index 4521301b1..0c398f076 100644 --- a/plantuml-mit/build.gradle.kts +++ b/plantuml-mit/build.gradle.kts @@ -147,9 +147,10 @@ publishing { repositories { maven { name = "OSSRH" - val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" - val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/" - url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl) + // val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" + // val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/" + // url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl) + url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" credentials { username = System.getenv("OSSRH_USERNAME") password = System.getenv("OSSRH_PASSWORD")