Skip to content

Commit 2663cb4

Browse files
authored
Add "contribute" file with publishing documentation (#17)
1 parent f664a89 commit 2663cb4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Bumping versions
2+
3+
Currently the process of updating the version of the packages is mostly manual. Before you start, first you need to make sure you have the permissions to publish the packages.
4+
5+
- While on the `main` branch.
6+
- Perform a search an replace on all "package.json" files from the old version to the new. (ex `0.1.4` to `0.2.0`).
7+
- Run `yarn` to update the lockfile.
8+
- Commit the changes with a message containing the new version (ex: `0.2.0`).
9+
- Create an annotated git tag by running `git tag -a v0.2.0` (replace with the version). The tag message can be the version again.
10+
- Push commit and the tag `git push --follow-tags`.
11+
- Publish the packages by running `yarn publish` (it will also build the packages).
12+
- Then head to GitHub to draft a new release https://github.com/Mojang/ore-ui/releases/new
13+
- Choose the tag and click the button "Auto-generate release notes"
14+
- Click "publish release"

0 commit comments

Comments
 (0)