marked/docs/PUBLISHING.md

22 lines
1.3 KiB
Markdown
Raw Normal View History

2018-02-19 15:13:29 -06:00
# Releasing Marked
2020-10-21 08:21:12 -05:00
Marked uses [semantic-release](https://github.com/semantic-release/semantic-release) to release new versions. All PRs should use the "Squash and merge" strategy and the commit message should follow the [conventional commit guidelines](https://www.conventionalcommits.org/).
2018-02-25 18:02:04 -05:00
## Overall strategy
2020-10-21 08:21:12 -05:00
**Master is always shippable:** We try to merge PRs in such a way that `master` is the only branch to really be concerned about *and* `master` can always be released. This allows smoother flow between new features, bug fixes, and so on.
2018-02-19 15:30:38 -06:00
2018-02-19 15:13:29 -06:00
## Versioning
We follow [semantic versioning](https://semver.org) where the following sequence is true `[major].[minor].[patch]`; therefore, consider the following implications of the release you are preparing:
2018-02-19 15:13:29 -06:00
2018-03-27 10:19:41 -05:00
1. **Major:** There is at least one change not deemed backward compatible.
2. **Minor:** There is at least one new feature added to the release.
2018-02-25 17:58:24 -05:00
3. **Patch:** No breaking changes, no new features.
What to expect while Marked is a zero-major (0.x.y):
1. The major will remain at zero; thereby, alerting consumers to the potentially volatile nature of the package.
2019-11-06 15:27:05 -06:00
2. The minor will tend to be more analogous to a `major` release.
3. The patch will tend to be more analogous to a `minor` release or a collection of bug fixes (patches).