Skip to content

Commit

Permalink
Use set-version for nightly publishes
Browse files Browse the repository at this point in the history
Summary:
Changelog: [Internal] - Update publish-npm to use `set-version` for nightly builds

Now that `set-version` basically does what `set-rn-version` does, this diff uses this logic for nightlies only (as dry-run/pre-alpha variants are non-functional right now)

This does not change the flow of build-type `'release'` -- that will still use `set-rn-version` via CircleCI ([job](https://fburl.com/code/6xo3ijwg), [script](https://fburl.com/code/bo8np0tb))  We will eventually replace that too but that will be later.

This allows us to delete `get-and-update-packages.js` which was a helper written specifically for updating monorepo packages for nightlies.

Differential Revision: D53487874
  • Loading branch information
lunaleaps authored and facebook-github-bot committed Feb 6, 2024
1 parent 795f55a commit a8e8bf7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 401 deletions.
199 changes: 0 additions & 199 deletions scripts/monorepo/__tests__/get-and-update-packages-test.js

This file was deleted.

170 changes: 0 additions & 170 deletions scripts/monorepo/get-and-update-packages.js

This file was deleted.

Loading

0 comments on commit a8e8bf7

Please sign in to comment.