Skip to content

Commit 92d41c5

Browse files
cortinicofacebook-github-bot
authored andcommitted
Remove the --dry-run gate from publishing to Sonatype
Summary: This remove a flag to effectively go publishing to Sonatype. The idea was to protect us against accidentally publishing a nightly as a stable release. We need to remove this before RC0 Changelog: [Internal] [Changed] - Remove the --dry-run gate from publishing to Sonatype Reviewed By: cipolleschi Differential Revision: D40687038 fbshipit-source-id: e6821905f41899430813f9575f17a5068b05a9bb
1 parent 2df63e5 commit 92d41c5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/release-utils.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ function publishAndroidArtifactsToMaven(isNightly) {
8181

8282
if (!isNightly) {
8383
// -------- For stable releases, we also need to close and release the staging repository.
84-
// TODO(ncor): Remove the --dry-run before RC0
85-
if (
86-
exec('./gradlew closeAndReleaseSonatypeStagingRepository --dry-run').code
87-
) {
84+
if (exec('./gradlew closeAndReleaseSonatypeStagingRepository').code) {
8885
echo(
8986
'Failed to close and release the staging repository on Sonatype (Maven Central)',
9087
);

0 commit comments

Comments
 (0)