Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(react-native-github): automate publishing bumped packages via circleci #35621

Closed
wants to merge 1 commit into from

Conversation

hoxyq
Copy link
Contributor

@hoxyq hoxyq commented Dec 12, 2022

Summary:
Changelog: [Internal]

  1. Added for-each-package.js script. This can be used to iterate through all of the packages inside /packages with the access to package manifest. This soon can be used as a replacement for yarn workspaces --info
  2. Added find-and-publish-all-bumped-packages.js script. This script iterates through all the packages and detects if the version was changed via git log -p (same as git diff). If so, it tries to publish it to npm.
  3. Added corresponding job and workflow to CircleCI config, which will use this script

Differential Revision: D41972733

@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 fb-exported labels Dec 12, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D41972733

@analysis-bot
Copy link

analysis-bot commented Dec 12, 2022

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,777,821 +0
android hermes armeabi-v7a 7,097,486 +0
android hermes x86 8,252,262 +0
android hermes x86_64 8,110,357 +0
android jsc arm64-v8a 8,970,479 +0
android jsc armeabi-v7a 7,703,402 +0
android jsc x86 9,034,226 +0
android jsc x86_64 9,511,764 +0

Base commit: 455ca8c
Branch: main

@analysis-bot
Copy link

analysis-bot commented Dec 12, 2022

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

Base commit: 455ca8c
Branch: main

@pull-bot
Copy link

PR build artifact for 4df3c31 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@pull-bot
Copy link

PR build artifact for 4df3c31 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

hoxyq added a commit to hoxyq/react-native that referenced this pull request Dec 13, 2022
…rcleci (facebook#35621)

Summary:
Pull Request resolved: facebook#35621

Changelog: [Internal]

1. Added `for-each-package.js` script. This can be used to iterate through all of the packages inside `/packages` with the access to package manifest. This soon can be used as a replacement for `yarn workspaces --info`
2. Added `find-and-publish-all-bumped-packages.js` script. This script iterates through all the packages and detects if the version was changed via `git log -p` (same as `git diff`). If so, it tries to publish it to npm.
3. Added corresponding job and workflow to CircleCI config, which will use this script

Differential Revision: D41972733

fbshipit-source-id: cc7866f01b57603ffd81dc38ca5bba94b36ea6c3
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D41972733

@pull-bot
Copy link

PR build artifact for a5c3f44 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@pull-bot
Copy link

PR build artifact for a5c3f44 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

…rcleci (facebook#35621)

Summary:
Pull Request resolved: facebook#35621

Changelog: [Internal]

1. Added `for-each-package.js` script. This can be used to iterate through all of the packages inside `/packages` with the access to package manifest. This soon can be used as a replacement for `yarn workspaces --info`
2. Added `find-and-publish-all-bumped-packages.js` script. This script iterates through all the packages and detects if the version was changed via `git log -p` (same as `git diff`). If so, it tries to publish it to npm.
3. Added corresponding job and workflow to CircleCI config, which will use this script

Reviewed By: cortinico

Differential Revision: D41972733

fbshipit-source-id: d9de31365d5a68381d3326674ca12608472a6f96
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D41972733

@pull-bot
Copy link

PR build artifact for 1f436d9 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@pull-bot
Copy link

PR build artifact for 1f436d9 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 83afdaf.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 14, 2022
kelset pushed a commit that referenced this pull request Dec 19, 2022
…rcleci (#35621)

Summary:
Pull Request resolved: #35621

Changelog: [Internal]

1. Added `for-each-package.js` script. This can be used to iterate through all of the packages inside `/packages` with the access to package manifest. This soon can be used as a replacement for `yarn workspaces --info`
2. Added `find-and-publish-all-bumped-packages.js` script. This script iterates through all the packages and detects if the version was changed via `git log -p` (same as `git diff`). If so, it tries to publish it to npm.
3. Added corresponding job and workflow to CircleCI config, which will use this script

Reviewed By: cortinico

Differential Revision: D41972733

fbshipit-source-id: c5d0ed5b852b744a699ecb88861ea3e82200e1f3
hoxyq added a commit to hoxyq/react-native that referenced this pull request Jan 10, 2023
…rcleci (facebook#35621)

Summary:
Pull Request resolved: facebook#35621

Changelog: [Internal]

1. Added `for-each-package.js` script. This can be used to iterate through all of the packages inside `/packages` with the access to package manifest. This soon can be used as a replacement for `yarn workspaces --info`
2. Added `find-and-publish-all-bumped-packages.js` script. This script iterates through all the packages and detects if the version was changed via `git log -p` (same as `git diff`). If so, it tries to publish it to npm.
3. Added corresponding job and workflow to CircleCI config, which will use this script

Reviewed By: cortinico

Differential Revision: D41972733

fbshipit-source-id: d9de31365d5a68381d3326674ca12608472a6f96
hoxyq added a commit to hoxyq/react-native that referenced this pull request Jan 23, 2023
…rcleci (facebook#35621)

Summary:
Pull Request resolved: facebook#35621

Changelog: [Internal]

1. Added `for-each-package.js` script. This can be used to iterate through all of the packages inside `/packages` with the access to package manifest. This soon can be used as a replacement for `yarn workspaces --info`
2. Added `find-and-publish-all-bumped-packages.js` script. This script iterates through all the packages and detects if the version was changed via `git log -p` (same as `git diff`). If so, it tries to publish it to npm.
3. Added corresponding job and workflow to CircleCI config, which will use this script

Reviewed By: cortinico

Differential Revision: D41972733

fbshipit-source-id: d9de31365d5a68381d3326674ca12608472a6f96
hoxyq added a commit to hoxyq/react-native that referenced this pull request Jan 24, 2023
…rcleci (facebook#35621)

Summary:
Pull Request resolved: facebook#35621

Changelog: [Internal]

1. Added `for-each-package.js` script. This can be used to iterate through all of the packages inside `/packages` with the access to package manifest. This soon can be used as a replacement for `yarn workspaces --info`
2. Added `find-and-publish-all-bumped-packages.js` script. This script iterates through all the packages and detects if the version was changed via `git log -p` (same as `git diff`). If so, it tries to publish it to npm.
3. Added corresponding job and workflow to CircleCI config, which will use this script

Reviewed By: cortinico

Differential Revision: D41972733

fbshipit-source-id: d9de31365d5a68381d3326674ca12608472a6f96
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
…rcleci (facebook#35621)

Summary:
Pull Request resolved: facebook#35621

Changelog: [Internal]

1. Added `for-each-package.js` script. This can be used to iterate through all of the packages inside `/packages` with the access to package manifest. This soon can be used as a replacement for `yarn workspaces --info`
2. Added `find-and-publish-all-bumped-packages.js` script. This script iterates through all the packages and detects if the version was changed via `git log -p` (same as `git diff`). If so, it tries to publish it to npm.
3. Added corresponding job and workflow to CircleCI config, which will use this script

Reviewed By: cortinico

Differential Revision: D41972733

fbshipit-source-id: c5d0ed5b852b744a699ecb88861ea3e82200e1f3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants