Skip to content

Commit e9b37bb

Browse files
committed
docs: mention parser semver
1 parent da1ed15 commit e9b37bb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,19 @@ Release
6363

6464
Steps to perform a release:
6565

66-
1. Bump and tag the version (choose `patch`/`minor`/`major` as appropriate).
66+
1. Bump and tag the version:
6767
```
6868
npm version patch -m "release %s"
6969
```
70-
2. Bump to prerelease, without creating a tag .
70+
Choose `patch`/`minor`/`major` to indicate query compatibility:
71+
- `patch` for bugfixes (no changes to queries needed)
72+
- `minor` for added nodes (queries may need changes to use new nodes but will not error)
73+
- `major` for removed or renamed nodes (queries will error if not adapted), other breaking changes
74+
2. Bump to prerelease, without creating a tag:
7175
```
7276
npm version --no-git-tag-version prerelease --preid dev && git add package*.json && git commit -m bump
7377
```
74-
3. Push.
78+
3. Push:
7579
```
7680
git push --follow-tags
7781
```

0 commit comments

Comments
 (0)