b443b70a828a34c79c71e41af9cb2eab7b950a14 incorrectly did not anticipate neither
the --force nor --version flags being passed to the deployment script.
Unfortunately I failed to notice this because I was testing using --force and
there was no easy way to test the final work flow until merging to master.
There is also no easy way to test this commit before being merged. I have run
pylint, but after that just need to cross my fingers.
Related to #1892.
gv_version = f.read().strip()
log.info(f'VERSION == {gv_version}')
+ # if we were not passed an explicit version, use the one from the VERSION file
+ if options.version is None:
+ options.version = gv_version
+
tarball = f'graphviz-{gv_version}.tar.gz'
if not os.path.exists(tarball):
log.error(f'source {tarball} not found')