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