mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Fix updateVcpkgPackage
This commit is contained in:
parent
7818e2666d
commit
784f6dfb34
@ -65,7 +65,7 @@ def update_portfile(path, header_hash, licence_hash):
|
|||||||
for line in lines:
|
for line in lines:
|
||||||
# Update the version
|
# Update the version
|
||||||
if 'set(CATCH_VERSION' in line:
|
if 'set(CATCH_VERSION' in line:
|
||||||
line = 'set(CATCH_VERSION v{})'.format(v.getVersionString())
|
line = 'set(CATCH_VERSION v{})\n'.format(v.getVersionString())
|
||||||
|
|
||||||
# Determine which file we are updating
|
# Determine which file we are updating
|
||||||
if 'vcpkg_download_distfile' in line:
|
if 'vcpkg_download_distfile' in line:
|
||||||
|
Loading…
Reference in New Issue
Block a user