Update version for podspec to not include dot (#6111)

pull/6117/head
Paul Yang 6 years ago committed by GitHub
parent 9f604ac504
commit 65fed3f294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Protobuf.podspec
  2. 2
      update_version.py

@ -5,7 +5,7 @@
# dependent projects use the :git notation to refer to the library. # dependent projects use the :git notation to refer to the library.
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'Protobuf' 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.summary = 'Protocol Buffers v.3 runtime library for Objective-C.'
s.homepage = 'https://github.com/protocolbuffers/protobuf' s.homepage = 'https://github.com/protocolbuffers/protobuf'
s.license = '3-Clause BSD License' s.license = '3-Clause BSD License'

@ -220,7 +220,7 @@ def UpdateObjectiveC():
RewriteTextFile('Protobuf.podspec', RewriteTextFile('Protobuf.podspec',
lambda line : re.sub( lambda line : re.sub(
r"^ s.version = '.*'$", r"^ s.version = '.*'$",
" s.version = '%s'" % GetFullVersion(rc_suffix = '-rc.'), " s.version = '%s'" % GetFullVersion(rc_suffix = '-rc'),
line)) line))

Loading…
Cancel
Save