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
|
@ -16,7 +16,7 @@ import sys
|
|||
def read_version():
|
||||
"""Read version from VERSION.txt file."""
|
||||
script_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
version_file = os.path.join(os.path.dirname(script_dir), 'VERSION.txt')
|
||||
version_file = os.path.join(script_dir, 'VERSION.txt')
|
||||
|
||||
try:
|
||||
with open(version_file, 'r') as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue