Commit 9f4cb617 by Patrick Steinhardt

scripts: adjust expected SOVERSION for v0.28 branch

The v0.28 branch still uses an old SOVERSION style which includes the
minor version, only. Adjust the release script to reflect that.
parent 2ac4b4a3
...@@ -37,7 +37,7 @@ def verify_version(version): ...@@ -37,7 +37,7 @@ def verify_version(version):
'VER_MINOR': [ str(version.minor), None ], 'VER_MINOR': [ str(version.minor), None ],
'VER_REVISION': [ str(version.revision), None ], 'VER_REVISION': [ str(version.revision), None ],
'VER_PATCH': [ '0', None ], 'VER_PATCH': [ '0', None ],
'SOVERSION': [ '"{}.{}"'.format(version.major, version.minor), None ], 'SOVERSION': [ '{}'.format(version.minor), None ],
} }
with open('include/git2/version.h') as f: with open('include/git2/version.h') as f:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment