Skip to content

Commit

Permalink
Fix missed update when we went back to one podspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Jul 8, 2024
1 parent e8ea41b commit e68412d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DevTools/LibraryVersions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e68412d

Please sign in to comment.