Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Invoke closeAndReleaseSonatypeStagingRepository in the publish gradle invocation #35272

Closed
wants to merge 1 commit into from

Conversation

cipolleschi
Copy link
Contributor

Summary

This PR ports back into main the changes required to properly close the SonaType repository on Maven

Changelog

[General] [Fixed] - Close the Maven repository properly

Test Plan

We tested these changed in 0.71-stable branch when releasing 0.71.0-RC.0

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Nov 9, 2022
@cipolleschi cipolleschi requested a review from kelset November 9, 2022 08:47
Comment on lines 65 to 66
'./gradlew publishAllToSonatype closeAndReleaseSonatypeStagingRepository -PisNightly=' +
isNightly,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kelset IIRC, Nico was saying that this -PisNightly=' +isNightly is not required due to the check at line 61. Do you remember the same? I think I can safely remove that part of the string, WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I think it can be removed 👍

@analysis-bot
Copy link

analysis-bot commented Nov 9, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 0376aa4
Branch: main

@cipolleschi cipolleschi changed the title [LOCAL] Invoke closeAndReleaseSonatypeStagingRepository in the publish gradle invocation Invoke closeAndReleaseSonatypeStagingRepository in the publish gradle invocation Nov 9, 2022
@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@cipolleschi cipolleschi force-pushed the cipolleschi/close-sonatype-repo-correctly branch from cd39e4c to 19320cb Compare November 10, 2022 14:28
@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@cipolleschi cipolleschi force-pushed the cipolleschi/close-sonatype-repo-correctly branch from 19320cb to 31672a8 Compare November 10, 2022 14:30
@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,069,968 -30,561
android hermes armeabi-v7a 6,442,099 -27,840
android hermes x86 7,485,007 -33,005
android hermes x86_64 7,344,670 -32,212
android jsc arm64-v8a 8,934,550 -30,168
android jsc armeabi-v7a 7,668,661 -27,450
android jsc x86 8,994,599 -32,616
android jsc x86_64 9,473,532 -31,816

Base commit: 0376aa4
Branch: main

@kelset kelset deleted the cipolleschi/close-sonatype-repo-correctly branch November 10, 2022 17:03
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
… invocation (facebook#35272)

Summary:
This PR ports back into main the changes required to properly close the SonaType repository on Maven

## Changelog

[General] [Fixed] - Close the Maven repository properly

Pull Request resolved: facebook#35272

Test Plan: We tested these changed in 0.71-stable branch when releasing 0.71.0-RC.0

Reviewed By: christophpurrer

Differential Revision: D41154965

Pulled By: cipolleschi

fbshipit-source-id: 74dd46e8fabf3baef544342282829c70d92f671f
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants