summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-10 16:43:58 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-24 14:33:41 +0200
commitfcbf3c923136ef25d01ec45cd550d93f319b04db (patch)
treed64bc689b57005b784f351466a68116e52959574 /doc
parentc064f1eba3ab3d9acee3873187488001b365d1f9 (diff)
downloadastroid-git-fcbf3c923136ef25d01ec45cd550d93f319b04db.tar.gz
Change numversion to __version__ in __pkginfo__
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py4
-rw-r--r--doc/release.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/conf.py b/doc/conf.py
index bd94315b..12070636 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -58,10 +58,10 @@ copyright = f'2003-{current_year}, Logilab, PyCQA and contributors'
# built documents.
#
# The short X.Y version.
-from astroid.__pkginfo__ import version
+from astroid.__pkginfo__ import __version__
# The full version, including alpha/beta/rc tags.
-release = version
+release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/doc/release.md b/doc/release.md
index 2f029eab..b19afe7e 100644
--- a/doc/release.md
+++ b/doc/release.md
@@ -6,7 +6,7 @@ So, you want to release the `X.Y.Z` version of astroid ?
1. Preparation
1. Check if the dependencies of the package are correct
- 2. Update `numversion` in `__pkginfo__`, `dev_version` should also be None when you
+ 2. Update `__version__` in `__pkginfo__`, `dev_version` should also be None when you
tag.
3. Put the version numbers, and the release date into the changelog
4. Generate the new copyright notices for this release:
@@ -69,5 +69,5 @@ at the examples from `doc/whatsnew`.
### Versions
-Update `numversion` to `X.Y+1.0` in `__pkginfo__` for `master` and to `X.Y.Z+1` for the
+Update `__version__` to `X.Y+1.0` in `__pkginfo__` for `master` and to `X.Y.Z+1` for the
`X.Y` branch. `dev_version` should also be back to an integer after the tag.