Skip to content

Commit

Permalink
add closeAndReleaseSonatypeStagingRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr committed May 8, 2024
1 parent 18ecf78 commit 144b6fa
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 @@ -2,8 +2,8 @@ set -x

branch=$(git rev-parse --abbrev-ref HEAD)

if [ "$branch" = "main-test" ]; then
./gradlew :designsystem:publishToSonatype -PremoveSnapshotSuffix
if [ "$branch" = "main" ]; then
./gradlew :designsystem:publishToSonatype closeAndReleaseSonatypeStagingRepository -PremoveSnapshotSuffix
else
./gradlew :designsystem:publishToSonatype
fi

0 comments on commit 144b6fa

Please sign in to comment.