mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Consolidate version strings in pyproject.toml
Storing the current version in a single place greatly simplifies issuing new package releases.
This commit is contained in:
parent
7c63cb5231
commit
54911fff39
3 changed files with 26 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ copyright = '2010 – present, Alexis Metaireau and contributors'
|
|||
exclude_patterns = ['_build']
|
||||
release = __version__
|
||||
version = '.'.join(release.split('.')[:1])
|
||||
last_stable = '4.0.1'
|
||||
last_stable = __version__
|
||||
rst_prolog = '''
|
||||
.. |last_stable| replace:: :pelican-doc:`{0}`
|
||||
'''.format(last_stable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue