Skip to content

Commit acb8871

Browse files
authored
[build] update release build to automatically release to nexus (ExpediaGroup#1093)
This is a follow up to ExpediaGroup#1091 which seems to be working fine.
1 parent bc85f0b commit acb8871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
3030
echo "New version: ${NEW_VERSION}"
31-
./gradlew publishToSonatype closeSonatypeStagingRepository -Pversion=${NEW_VERSION}
31+
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository publishPlugins -Pversion=${NEW_VERSION}
3232
env:
3333
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
3434
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

0 commit comments

Comments
 (0)