diff --git a/rpgpack/commands/dndnew.py b/rpgpack/commands/dndnew.py index 28754404..a73f3968 100644 --- a/rpgpack/commands/dndnew.py +++ b/rpgpack/commands/dndnew.py @@ -17,7 +17,7 @@ class DndnewCommand(Command): tables = {DndCharacter} def _search_value(self, name: str, string: str): - return re.search(r"\s*" + name + r"\s*([0-9]+)\s*", string, re.IGNORECASE) + return re.search(r"\s*" + name + r"\s*([0-9.]+)\s*", string, re.IGNORECASE) def _parse(self, character_sheet: str) -> dict: columns = list(self.alchemy.DndCharacter.__table__.columns) diff --git a/rpgpack/version.py b/rpgpack/version.py index 37d8d6a0..04abd943 100644 --- a/rpgpack/version.py +++ b/rpgpack/version.py @@ -1,4 +1,4 @@ -semantic = "5.0a93" +semantic = "5.0a94" if __name__ == "__main__": print(semantic) diff --git a/to_pypi.bat b/to_pypi.bat deleted file mode 100644 index beb035bc..00000000 --- a/to_pypi.bat +++ /dev/null @@ -1,3 +0,0 @@ -del /f /q /s dist\*.* -python setup.py sdist bdist_wheel -twine upload dist/* diff --git a/to_pypi.sh b/to_pypi.sh deleted file mode 100755 index 7eeca125..00000000 --- a/to_pypi.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -# Royalnet must be installed with `develop` -VERSION=$(python3.7 -m rpgpack.version) - -rm -rf dist -python setup.py sdist bdist_wheel -twine upload "dist/rpgpack-$VERSION"* -git add * -git commit -m "$VERSION" -git push -hub release create --message "Version $VERSION" --prerelease "$VERSION"