Skip to content

Commit 0303cd0

Browse files
committed
fix update version
1 parent b557297 commit 0303cd0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/update_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def replace_in_file(filepath, regex, sub):
2222

2323
about_file = os.path.join(dir_path, os.pardir, "mergin", "version.py")
2424
print("patching " + about_file)
25-
replace_in_file(about_file, "__version__\s=\s'.*", "__version__ = \"" + ver + "\"")
25+
replace_in_file(about_file, "__version__\s=\s\".*", "__version__ = \"" + ver + "\"")
2626

2727
setup_file = os.path.join(dir_path, os.pardir, "setup.py")
2828
print("patching " + setup_file)
29-
replace_in_file(setup_file, "VERSION='.*", "VERSION=\"" + ver + "\"")
29+
replace_in_file(setup_file, "version='.*", "version='" + ver + "'")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='mergin-client',
8-
version='0.7.2', # The version is also stored in mergin/version.py
8+
version='1.0.0'
99
url='https://github.com/MerginMaps/mergin-py-client',
1010
license='MIT',
1111
author='Lutra Consulting Ltd.',

0 commit comments

Comments
 (0)