- Clone this repository;
- Install the packages using:
yarn install
- You can build it with this command:
yarn run build
- Then find your distribution in the following folder:
/dist
Here’s a clearer and more structured version for both developers and designers:
🔹 Only maintainers should perform releases.
All releases must be made from release branches
or main
.
-
Switch to
main
:git checkout main
-
Run the release command:
yarn run stage:commit
This command will:
- Prompt you to choose the version bump (needs validation).
- Ask for a release name (needs validation).
- Generate a changelog (needs validation).
- Create a commit with the changelog.
- Tag the release in Git.
- Push the release commit and tag (including the updated
package.json
).
-
Wait for the pipeline to finish.
- Create a new release branch from
main
git checkout -b 1.0.x main
- Follow steps 2 and 3 from the Simple Release section.
- Create a new branch from the existing release branch
- Example: If the current branch is
3.0.x
, create a new branch:git checkout -b 3.1.x 3.0.x
- Example: If the current branch is
- Follow steps 2 and 3 from the Simple Release section.
- Use the existing release branch. No need to create a new one.
- Follow steps 2 and 3 from the Simple Release section, but select a patch version bump.