Skip to content

Commit

Permalink
Fix default version number
Browse files Browse the repository at this point in the history
  • Loading branch information
nl78 committed Jun 20, 2024
1 parent eb073b1 commit 7c895ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fmutool/version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
from fmutool.__version__ import __doc__ as __version__
except ModuleNotFoundError:
__version__ = "DEVEL"
__version__ = "0.0-dev"

__author__ = "Nicolas.LAURENT@Renault.com"
__copyright__ = "Copyright 2023-2024, Renault SAS"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

if not re.match(r"[A-Za-z]?\d+(\.\d)+", version):
print(f"WARNING: Version {version} does not match standard. The publication will fail !")
version = default_version

# Create __version__.py
try:
Expand Down

0 comments on commit 7c895ab

Please sign in to comment.