Skip to content

Commit baed0ed

Browse files
authored
Merge pull request #1051 from bact/add-release-checklist
Add How to cut a new release doc
2 parents d35115f + 35f0234 commit baed0ed

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ See more in [tests/README.md](./tests/README.md)
127127
#current_version = 3.0.0
128128
```
129129

130+
- Read the full [how to cut a new release](./release.md) documentation.
131+
130132
## Credits
131133

132134
<a href="https://github.com/PyThaiNLP/pythainlp/graphs/contributors">
@@ -140,11 +142,11 @@ Thanks to all [contributors](https://github.com/PyThaiNLP/pythainlp/graphs/contr
140142
- Wannaphong Phatthiyaphaibun <[email protected]> - foundation, distribution and maintenance
141143
- Korakot Chaovavanich - initial tokenization and soundex codes
142144
- Charin Polpanumas - classification and benchmarking
143-
- Arthit Suriyawongkul - documentation, refactoring, packaging, distribution, and maintenance
145+
- Arthit Suriyawongkul - CI/infrastructure, documentation, refactoring and distribution
144146
- Lalita Lowphansirikul - documentation
145147
- Pattarawat Chormai - benchmarking
146148
- Peerat Limkonchotiwat
147-
- Thanathip Suntorntip - nlpO3 maintenance, Rust Developer
149+
- Thanathip Suntorntip - nlpO3 maintenance, Rust developer
148150
- Can Udomcharoenchaikit - documentation and codes
149151

150152
### Maintainers

release.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# How to cut a new release
2+
3+
0. This project follows [semantic versioning][semver].
4+
1. Ensure the version and release date fields (if any) in these files
5+
have been updated to the version of the new planned release:
6+
- `pyproject.toml`
7+
- `setup.cfg`
8+
- `setup.py`
9+
- `CITATION.cff`
10+
- `README.md`
11+
- `README.TH.md`
12+
- `CHANGELOG.md`
13+
2. Navigate to the
14+
[releases page][releases] and
15+
click the "Draft a new release" button.
16+
Only project maintainers are able to perform this step.
17+
3. Then enter the new tag in the "Choose a tag" box.
18+
The tag should begin with "v", as in, for instance, `v5.0.1`.
19+
4. The release title should be the same as the new version tag.
20+
For instance, the title could be `v5.0.1`.
21+
5. The click the "Generate release notes" button.
22+
6. You can optionally include any particular thank-you's to contributors or
23+
reviewers in a note at the bottom of the release.
24+
7. You can then click "publish release."
25+
8. If the CI run is successful, then the release will be published on both
26+
the GitHub release page and also the [Python Package Index][pypi].
27+
28+
[semver]: https://semver.org/
29+
[releases]: https://github.com/PyThaiNLP/pythainlp/releases
30+
[pypi]: https://pypi.org/project/pythainlp/

0 commit comments

Comments
 (0)