Skip to content

Commit 2a36a04

Browse files
authored
Correct location for extracting main branch version (#207)
1 parent 2af5020 commit 2a36a04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gemd/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.18.1"
1+
__version__ = "1.18.2"

scripts/validate_version_bump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def main():
1818
raise ValueError(f"Couldn't extract version from {version_path}") from e
1919

2020
try:
21-
with popen(f"git show main:setup.py", mode="r") as fh:
21+
with popen(f"git show main:gemd/__version__.py", mode="r") as fh:
2222
old_version = extract_version(fh)
2323
except Exception as e:
2424
raise ValueError(f"Couldn't extract version from main branch") from e

0 commit comments

Comments
 (0)