Change verison automatically
This commit is contained in:
@@ -33,7 +33,9 @@ name = "rtl-manifest" # REQUIRED, is the only field that cannot be marked as dy
|
|||||||
#
|
#
|
||||||
# For a discussion on single-sourcing the version, see
|
# For a discussion on single-sourcing the version, see
|
||||||
# https://packaging.python.org/guides/single-sourcing-package-version/
|
# https://packaging.python.org/guides/single-sourcing-package-version/
|
||||||
version = "0.0.2" # REQUIRED, although can be dynamic
|
|
||||||
|
dynamic = ["version"]
|
||||||
|
# version = "0.0.3" # REQUIRED, although can be dynamic
|
||||||
|
|
||||||
# This is a one-line description or tagline of what your project does. This
|
# This is a one-line description or tagline of what your project does. This
|
||||||
# corresponds to the "Summary" metadata field:
|
# corresponds to the "Summary" metadata field:
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
from .rtl_manifest import rtl_manifest_main
|
from .rtl_manifest import rtl_manifest_main
|
||||||
|
|
||||||
|
VERSION_BASE = "0.0.3"
|
||||||
|
|
||||||
|
import datetime
|
||||||
|
__version__ = f"{VERSION_BASE}.{datetime.datetime.now().strftime('%Y.%m.%d.%H%M')}"
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
rtl_manifest_main()
|
rtl_manifest_main()
|
||||||
Reference in New Issue
Block a user