From 65fed3f294ef9053f29d511714b1d4e0bcc2fe5f Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Wed, 8 May 2019 19:15:20 -0700 Subject: [PATCH] Update version for podspec to not include dot (#6111) --- Protobuf.podspec | 2 +- update_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Protobuf.podspec b/Protobuf.podspec index bf66f4c3d4..f657d3d331 100644 --- a/Protobuf.podspec +++ b/Protobuf.podspec @@ -5,7 +5,7 @@ # dependent projects use the :git notation to refer to the library. Pod::Spec.new do |s| s.name = 'Protobuf' - s.version = '3.8.0-rc.1' + s.version = '3.8.0-rc1' s.summary = 'Protocol Buffers v.3 runtime library for Objective-C.' s.homepage = 'https://github.com/protocolbuffers/protobuf' s.license = '3-Clause BSD License' diff --git a/update_version.py b/update_version.py index dd01d833c4..ab203d6ea5 100755 --- a/update_version.py +++ b/update_version.py @@ -220,7 +220,7 @@ def UpdateObjectiveC(): RewriteTextFile('Protobuf.podspec', lambda line : re.sub( r"^ s.version = '.*'$", - " s.version = '%s'" % GetFullVersion(rc_suffix = '-rc.'), + " s.version = '%s'" % GetFullVersion(rc_suffix = '-rc'), line))