Automatically patch version number.

Added a new file generate/version.txt that contains
the current Astronomy Engine version number.
Now when I run the build/test process, the version
number is patched in all the places it needs to
be changed to keep all the packages and documentation
up to date.

This means when I want to change the Astronomy Engine
version number, I just need to edit version.txt, then
execute the generate/run script.
This commit is contained in:
Don Cross
2022-06-05 14:07:32 -04:00
parent 2a1abad0d5
commit 1e9f1a7b05
3 changed files with 13 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='astronomy-engine',
version='2.1.2',
version="2.1.2",
description='Astronomy calculation for Sun, Moon, and planets.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',