automatic version stamping implemented (using git filters)
This commit is contained in:
parent
5e655c8e06
commit
8f317dc7dd
4 changed files with 30 additions and 3 deletions
|
@ -6,7 +6,7 @@ import re
|
|||
|
||||
from . import file
|
||||
from . import textui
|
||||
from ..version import _revision
|
||||
from ..version import _version
|
||||
|
||||
prefix = textui.prefix
|
||||
|
||||
|
@ -73,7 +73,7 @@ def _print_help(main, help_texts, chapter=None, list_options=False):
|
|||
# dirty as fuck :-)
|
||||
if not chapter and not main.version is None:
|
||||
if help_texts == _over_help_texts:
|
||||
_output(">>> §yover.core§/ version §y%d§/ (%s), licensed under the §yAO-JSL§/" %_revision, newlines=2)
|
||||
_output(">>> §yover.core§/ version §y%d§/ (%s), licensed under the §yAO-JSL§/" %_version, newlines=2)
|
||||
else:
|
||||
_output("§y%s§/ version §y%s§/, licensed under the §y%s§/" %(main.name, main.version, main.license), newlines=2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue