File size: 1,428 Bytes
e4b9a7b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# How to cut a new release

0. This project follows [semantic versioning][semver].
1. Ensure the version and release date fields (if any) in these files
   have been updated to the version of the new planned release:
    - `pyproject.toml`
    - `setup.cfg`
    - `setup.py`
    - `CITATION.cff`
    - `README.md`
    - `README.TH.md`
    - `CHANGELOG.md`
2. Navigate to the
  [releases page][releases] and
   click the "Draft a new release" button.
   Only project maintainers are able to perform this step.
3. Then enter the new tag in the "Choose a tag" box.
   The tag should begin with "v", as in, for instance, `v5.0.1`.
4. The release title should be the same as the new version tag.
   For instance, the title could be `v5.0.1`.
5. The click the "Generate release notes" button.
6. You can optionally include any particular thank-you's to contributors or
   reviewers in a note at the bottom of the release.
7. You can then click "publish release."
8. If [the CI][ci] run is [successful][actions], then the release will be published on both
   the GitHub release page and also the [Python Package Index][pypi].

[semver]: https://semver.org/
[releases]: https://github.com/PyThaiNLP/pythainlp/releases
[ci]: https://github.com/PyThaiNLP/pythainlp/blob/dev/.github/workflows/pypi-publish.yml
[actions]: https://github.com/PyThaiNLP/pythainlp/actions/workflows/pypi-publish.yml
[pypi]: https://pypi.org/project/pythainlp/