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
This commit is contained in:
Родитель
2df63e52f4
Коммит
92d41c5e96
|
@ -81,10 +81,7 @@ function publishAndroidArtifactsToMaven(isNightly) {
|
|||
|
||||
if (!isNightly) {
|
||||
// -------- For stable releases, we also need to close and release the staging repository.
|
||||
// TODO(ncor): Remove the --dry-run before RC0
|
||||
if (
|
||||
exec('./gradlew closeAndReleaseSonatypeStagingRepository --dry-run').code
|
||||
) {
|
||||
if (exec('./gradlew closeAndReleaseSonatypeStagingRepository').code) {
|
||||
echo(
|
||||
'Failed to close and release the staging repository on Sonatype (Maven Central)',
|
||||
);
|
||||
|
|
Загрузка…
Ссылка в новой задаче