Skip to content

Commit a8f359a

Browse files
authored
Add development versioning scheming (#601)
1 parent e238ea6 commit a8f359a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ Starting with version 4.0.0, `typing_extensions` uses
2424
[Semantic Versioning](https://semver.org/). See the documentation
2525
for more detail.
2626

27+
## Development version
28+
After a release the version is increased once in [pyproject.toml](/pyproject.toml) and
29+
appended with a `.dev` suffix, e.g. `4.0.1.dev`.
30+
Further subsequent updates are not planned between releases.
31+
2732
# Type stubs
2833

2934
A stub file for `typing_extensions` is maintained
@@ -79,7 +84,7 @@ pipx run pre-commit run -a
7984
# Workflow for PyPI releases
8085

8186
- Make sure you follow the versioning policy in the documentation
82-
(e.g., release candidates before any feature release)
87+
(e.g., release candidates before any feature release, do not release development versions)
8388

8489
- Ensure that GitHub Actions reports no errors.
8590

@@ -93,3 +98,5 @@ pipx run pre-commit run -a
9398

9499
- Release automation will finish the release. You'll have to manually
95100
approve the last step before upload.
101+
102+
- After the release has been published on PyPI upgrade the version in number in [pyproject.toml](/pyproject.toml) to a `dev` version of the next planned release. For example, change 4.1.1 to 4.X.X.dev, see also [Development versions](#development-version). # TODO decide on major vs. minor increase.

0 commit comments

Comments
 (0)