From a3651e590cd58f2a3d48d70fc798be1b48c1581b Mon Sep 17 00:00:00 2001 From: andresmr Date: Wed, 8 May 2024 12:41:36 +0200 Subject: [PATCH] remove closeAndReleaseSonatypeStagingRepository --- .github/workflows/scripts/publish-maven.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/publish-maven.sh b/.github/workflows/scripts/publish-maven.sh index 116db13b3..c041150c8 100755 --- a/.github/workflows/scripts/publish-maven.sh +++ b/.github/workflows/scripts/publish-maven.sh @@ -3,7 +3,7 @@ set -x branch=$(git rev-parse --abbrev-ref HEAD) if [ "$branch" = "main" ]; then - ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -PremoveSnapshotSuffix --project-dir designsystem + ./gradlew :designsystem:publishToSonatype -PremoveSnapshotSuffix else - ./gradlew publishToSonatype --project-dir designsystem + ./gradlew :designsystem:publishToSonatype fi \ No newline at end of file