releng/tag-release.sh: update docs/conf.py on release
This commit is contained in:
parent
19f5c378f5
commit
586a1cfecb
|
@ -10,7 +10,7 @@ project = 'ZFSBootMenu'
|
|||
author = 'Zach Dykstra'
|
||||
man_author = 'ZFSBootMenu Team <https://github.com/zbm-dev/zfsbootmenu>'
|
||||
copyright = f'2019, {author}'
|
||||
release = '2.0.0'
|
||||
release = '2.1.0'
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||
|
|
|
@ -55,6 +55,9 @@ fi
|
|||
|
||||
echo "Will tag release version ${release} as ${tag}"
|
||||
|
||||
# update version in documentation
|
||||
sed -i "s/^release = '.*'\$/release = '${release}'" docs/conf.py
|
||||
|
||||
# Synchronize man pages with POD documentation
|
||||
if [ ! -x releng/rst2help.sh ]; then
|
||||
error "ERROR: unable to convert documentation"
|
||||
|
|
Loading…
Reference in New Issue