Skip to content

Commit

Permalink
remove closeAndReleaseSonatypeStagingRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr committed May 8, 2024
1 parent 640ada7 commit a3651e5
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 publishToSonatype closeAndReleaseSonatypeStagingRepository -PremoveSnapshotSuffix --project-dir designsystem
./gradlew :designsystem:publishToSonatype -PremoveSnapshotSuffix
else
./gradlew publishToSonatype --project-dir designsystem
./gradlew :designsystem:publishToSonatype
fi

0 comments on commit a3651e5

Please sign in to comment.