From e68412d44dbf71d0fe3d7bd5d78426f6a9f3667b Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 8 Jul 2024 10:10:40 -0400 Subject: [PATCH] Fix missed update when we went back to one podspec. --- DevTools/LibraryVersions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DevTools/LibraryVersions.py b/DevTools/LibraryVersions.py index 70ba164ba..0d3d43f45 100755 --- a/DevTools/LibraryVersions.py +++ b/DevTools/LibraryVersions.py @@ -55,11 +55,11 @@ def UpdateFiles(version_string): (major, minor, revision) = ExtractVersion(version_string) # Update SwiftProtobuf.podspec - pod_content = open(_CORE_PODSPEC_PATH).read() + pod_content = open(_PODSPEC_PATH).read() pod_content = re.sub(r'version = \'(\d+\.\d+\.\d+)\'', 'version = \'%s.%s.%s\'' % (major, minor, revision), pod_content) - open(_CORE_PODSPEC_PATH, 'w').write(pod_content) + open(_PODSPEC_PATH, 'w').write(pod_content) # Update Sources/SwiftProtobuf/Version.swift version_swift_content = open(_VERSION_SWIFT_PATH).read()