mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-09 07:05:47 +02:00
docs: publishing workflow as script
This commit is contained in:
@ -57,9 +57,10 @@ author = 'Christian Schwarz'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '0.0.2'
|
||||
import subprocess
|
||||
version = subprocess.check_output(["git", "describe"]).decode("utf-8")
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '0.0.2'
|
||||
release = version
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
Reference in New Issue
Block a user