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.
This commit is contained in:
Patrick Steinhardt
2020-03-26 21:43:23 +01:00
parent 2ac4b4a3f2
commit 9f4cb61721

View File

@@ -37,7 +37,7 @@ def verify_version(version):
'VER_MINOR': [ str(version.minor), None ],
'VER_REVISION': [ str(version.revision), 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: