mirror of
https://github.com/Z3Prover/z3
synced 2025-08-28 05:58:55 +00:00
Move VERSION.txt to scripts directory and update all references (#7811)
* Initial plan * Move VERSION.txt to scripts/ and update all references Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
287464567b
commit
300e0ae69e
8 changed files with 10 additions and 8 deletions
|
@ -9,7 +9,7 @@ from mk_util import *
|
|||
|
||||
def init_version():
|
||||
# Read version from VERSION.txt file
|
||||
version_file_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'VERSION.txt')
|
||||
version_file_path = os.path.join(os.path.dirname(__file__), 'VERSION.txt')
|
||||
try:
|
||||
with open(version_file_path, 'r') as f:
|
||||
version_str = f.read().strip()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue