Skip to content

Commit 6e0b1be

Browse files
authored
[0.79] Close Sonatype repository during build_android (#52086)
1 parent c955e6c commit 6e0b1be

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/build-android/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ runs:
5555
TASKS="publishAllToMavenTempLocal publishAndroidToSonatype build"
5656
else
5757
# release: we want to build all archs (default)
58-
TASKS="publishAllToMavenTempLocal publishAndroidToSonatype build"
58+
TASKS="publishAllToMavenTempLocal publishAndroidToSonatype closeSonatypeStagingRepository build"
5959
fi
6060
./gradlew $TASKS -PenableWarningsAsErrors=true
6161
- name: Save Android ccache

scripts/releases/utils/release-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function publishAndroidArtifactsToMaven(
6868
// -------- For stable releases, we also need to close and release the staging repository.
6969
if (
7070
exec(
71-
'./gradlew findSonatypeStagingRepository closeAndReleaseSonatypeStagingRepository',
71+
'./gradlew findSonatypeStagingRepository releaseSonatypeStagingRepository',
7272
).code
7373
) {
7474
echo(

0 commit comments

Comments
 (0)