Skip to content

Commit d932f82

Browse files
committed
docs: add release label guide to README contributing section
1 parent 01cef4b commit d932f82

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,15 +210,24 @@ pnpm --filter @datum-cloud/datum-ui typecheck
210210
pnpm --filter @datum-cloud/datum-ui lint
211211
pnpm --filter @datum-cloud/datum-ui test
212212

213-
# 3. Add a changeset
214-
pnpm changeset
215-
216-
# 4. Commit and push
213+
# 3. Commit and push
217214
git add .
218215
git commit -m "feat: description of changes"
219216
git push -u origin feat/my-feature
220217
```
221218

219+
### Release Labels
220+
221+
When your PR is merged to `main`, the publish workflow automatically bumps the package version based on PR labels:
222+
223+
| Label | Version Bump | Example |
224+
|---|---|---|
225+
| `release:major` | Major | `0.3.0``1.0.0` |
226+
| `release:minor` | Minor | `0.2.1``0.3.0` |
227+
| _(no label)_ | Patch (default) | `0.2.1``0.2.2` |
228+
229+
Add the appropriate label to your PR before merging to control the version bump.
230+
222231
## License
223232

224233
MIT

0 commit comments

Comments
 (0)