Skip to content

Commit f8cd397

Browse files
committed
Update version and add notes in preparation for release
1 parent 98392bc commit f8cd397

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,6 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
193193
194194
## Changelog
195195
196-
### Version 0.0.1 (next version)
196+
### Version 0.1.0 (next version)
197197
198-
* Initial development version.
198+
* Initial version.

src/typedstream/__init__.py

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,24 @@
2424
# so that their classes are registered with KnownArchivedObject and KnownStruct.
2525
from . import types # noqa: F401
2626

27-
__version__ = "0.0.1.dev"
27+
# To release a new version:
28+
# * Remove the .dev suffix from the version number in this file.
29+
# * Update the changelog in the README.md (rename the "next version" section to the correct version number).
30+
# * Remove the ``dist`` directory (if it exists) to clean up any old release files.
31+
# * Run ``python3 setup.py sdist bdist_wheel`` to build the release files.
32+
# * Run ``python3 -m twine check dist/*`` to check the release files.
33+
# * Fix any errors reported by the build and/or check steps.
34+
# * Commit the changes to main.
35+
# * Tag the release commit with the version number, prefixed with a "v" (e. g. version 1.2.3 is tagged as v1.2.3).
36+
# * Fast-forward the release branch to the new release commit.
37+
# * Push the main and release branches.
38+
# * Upload the release files to PyPI using ``python3 -m twine upload dist/*``.
39+
# * On the GitHub repo's Releases page, edit the new release tag and add the relevant changelog section from the README.md.
40+
41+
# After releasing:
42+
# * (optional) Remove the build and dist directories from the previous release as they are no longer needed.
43+
# * Bump the version number in this file to the next version and add a .dev suffix.
44+
# * Add a new empty section for the next version to the README.md changelog.
45+
# * Commit and push the changes to main.
46+
47+
__version__ = "0.1.0.dev"

0 commit comments

Comments
 (0)