Skip to content

Conversation

@dragidavid
Copy link
Collaborator

To follow up on #108, #110 and #111, this PR adds the release scripts to next. It belongs to the same internal ticket of DEVXP-2530.


This PR adds the new release_next script which publishes the next package to NPM tagged with next for easy distinction.

The script is based on the dev and main release scripts.

@dragidavid dragidavid changed the base branch from main to devxp-2530-tests January 22, 2025 21:13
Base automatically changed from devxp-2530-tests to main January 23, 2025 06:17
@thien-remote
Copy link
Collaborator

thien-remote commented Jan 23, 2025

Hey David thanks! #111 is merged so this PR is pointing to "main" correctly. However, because we use "squash", you may want to rebase this on top of "main" again, so the diff will be corrected.

In the meantime, here's the diff for other reviewers: f3e3b79...devxp-2530-release

antoniocapelo
antoniocapelo previously approved these changes Jan 23, 2025
@dragidavid dragidavid requested a review from lukad January 23, 2025 19:06
@dragidavid dragidavid self-assigned this Jan 23, 2025
@dragidavid
Copy link
Collaborator Author

Going to leave this unmerged until the morning, in case we get some more eyes on it overnight. 👀

dragidavid and others added 9 commits January 28, 2025 21:31
* Fix

* Update jest.config.js

* Update babel.config.js

* chore: add default node version

---------

Co-authored-by: David Dragovacz <[email protected]>
- includes separate `dev` and `beta` versions
- `dev` will work the same way as the main `dev` script that we have where we append the version with the timestamp
- `beta` will increment the version in the `/next/package.json` file
prevents the `dev` release when on `main` branch
only allows a `beta` release when on `main` branch and local branch up to date
- this checks the version in the `next` package before merging and fails if it is anything other than `beta`
- this commit should make the build fail since I'm checking if it is `beta` (for testing purposes)
@dragidavid dragidavid requested a review from sandrina-p January 31, 2025 15:49
@dragidavid dragidavid merged commit b36c8dc into main Jan 31, 2025
3 checks passed
@dragidavid dragidavid deleted the devxp-2530-release branch January 31, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants