From 748de48299ae7165353b71157d511698d6b3404f Mon Sep 17 00:00:00 2001 From: andresmr Date: Wed, 8 May 2024 12:22:48 +0200 Subject: [PATCH] add project dir for all maven tasks --- .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 a6df42989..8015606f1 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 :designSystem:publishToSonatype closeAndReleaseSonatypeStagingRepository -PremoveSnapshotSuffix + ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -PremoveSnapshotSuffix --project-dir designSystem else - ./gradlew :designSystem:publishToSonatype + ./gradlew publishToSonatype --project-dir designSystem fi \ No newline at end of file