Skip to content

Commit

Permalink
add project dir for all maven tasks (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr authored May 8, 2024
1 parent be82822 commit 5164f5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/publish-maven.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5164f5b

Please sign in to comment.