releng/tag-release.sh: update docs/conf.py on release

This commit is contained in:
classabbyamp 2022-12-21 00:39:05 -05:00 committed by Zach Dykstra
parent 19f5c378f5
commit 586a1cfecb
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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"