Skip to content

Commit 3c3b616

Browse files
committed
Update release docs
1 parent d9b9a19 commit 3c3b616

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ jobs:
181181
runs-on: ubuntu-latest
182182
permissions:
183183
id-token: write
184+
attestations: write
184185

185186
# upload to PyPI only on release
186187
if: github.event.release && github.event.action == 'published'

can/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import logging
99
from typing import Any, Dict
1010

11-
__version__ = "4.4.0-rc.1"
11+
__version__ = "4.4.0-rc.2"
1212
__all__ = [
1313
"ASCReader",
1414
"ASCWriter",

doc/development.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,19 @@ Creating a new Release
117117
- Update ``CONTRIBUTORS.txt`` with any new contributors.
118118
- For larger changes update ``doc/history.rst``.
119119
- Sanity check that documentation has stayed inline with code.
120-
- Create a temporary virtual environment. Run ``python setup.py install`` and ``tox``.
121-
- Create and upload the distribution: ``python setup.py sdist bdist_wheel``.
122-
- Sign the packages with gpg ``gpg --detach-sign -a dist/python_can-X.Y.Z-py3-none-any.whl``.
123-
- Upload with twine ``twine upload dist/python-can-X.Y.Z*``.
124120
- In a new virtual env check that the package can be installed with pip: ``pip install python-can==X.Y.Z``.
125121
- Create a new tag in the repository.
126122
- Check the release on
127123
`PyPi <https://pypi.org/project/python-can/#history>`__,
128124
`Read the Docs <https://readthedocs.org/projects/python-can/versions/>`__ and
129125
`GitHub <https://github.com/hardbyte/python-can/releases>`__.
126+
127+
128+
Manual release steps (deprecated)
129+
---------------------------------
130+
131+
- Create a temporary virtual environment.
132+
- Build with ``pipx run build``
133+
- Create and upload the distribution: ``python setup.py sdist bdist_wheel``.
134+
- Sign the packages with gpg ``gpg --detach-sign -a dist/python_can-X.Y.Z-py3-none-any.whl``.
135+
- Upload with twine ``twine upload dist/python-can-X.Y.Z*``.

0 commit comments

Comments
 (0)