Skip to content

Commit

Permalink
Automatedly advance ObjC version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Muxi Yan committed Jan 27, 2017
1 parent fa3b130 commit 690aee6
Show file tree
Hide file tree
Showing 14 changed files with 589 additions and 220 deletions.
8 changes: 3 additions & 5 deletions gRPC-Core.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

Pod::Spec.new do |s|
s.name = 'gRPC-Core'
version = '1.0.2'
version = '1.1.0-dev'
s.version = version
s.summary = 'Core cross-platform gRPC library, written in C'
s.homepage = 'http://www.grpc.io'
Expand All @@ -44,9 +44,7 @@ Pod::Spec.new do |s|

s.source = {
:git => 'https://github.com/grpc/grpc.git',
# TODO(mxyan): Change back to "v#{version}" for next release
#:tag => "v#{version}",
:tag => "objective-c-v#{version}",
:tag => "v#{version}",
# TODO(jcanizales): Depend explicitly on the nanopb pod, and disable submodules.
:submodules => true,
}
Expand Down Expand Up @@ -191,7 +189,7 @@ Pod::Spec.new do |s|
ss.header_mappings_dir = '.'
ss.libraries = 'z'
ss.dependency "#{s.name}/Interface", version
ss.dependency 'BoringSSL', '~> 7.0'
ss.dependency 'BoringSSL', '~> 8.0'

# To save you from scrolling, this is the last part of the podspec.
ss.source_files = 'src/core/lib/profiling/timers.h',
Expand Down
5 changes: 2 additions & 3 deletions gRPC-ProtoRPC.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Pod::Spec.new do |s|
s.name = 'gRPC-ProtoRPC'
version = '1.0.2'
version = '1.1.0-dev'
s.version = version
s.summary = 'RPC library for Protocol Buffers, based on gRPC'
s.homepage = 'http://www.grpc.io'
Expand All @@ -39,7 +38,7 @@ Pod::Spec.new do |s|

s.source = {
:git => 'https://github.com/grpc/grpc.git',
:tag => "objective-c-v#{version}",
:tag => "v#{version}",
}

s.ios.deployment_target = '7.1'
Expand Down
4 changes: 2 additions & 2 deletions gRPC-RxLibrary.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

Pod::Spec.new do |s|
s.name = 'gRPC-RxLibrary'
version = '1.0.2'
version = '1.1.0-dev'
s.version = version
s.summary = 'Reactive Extensions library for iOS/OSX.'
s.homepage = 'http://www.grpc.io'
Expand All @@ -39,7 +39,7 @@ Pod::Spec.new do |s|

s.source = {
:git => 'https://github.com/grpc/grpc.git',
:tag => "objective-c-v#{version}",
:tag => "v#{version}",
}

s.ios.deployment_target = '7.1'
Expand Down
4 changes: 2 additions & 2 deletions gRPC.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

Pod::Spec.new do |s|
s.name = 'gRPC'
version = '1.0.2'
version = '1.1.0-dev'
s.version = version
s.summary = 'gRPC client library for iOS/OSX'
s.homepage = 'http://www.grpc.io'
Expand All @@ -39,7 +39,7 @@ Pod::Spec.new do |s|

s.source = {
:git => 'https://github.com/grpc/grpc.git',
:tag => "objective-c-v#{version}",
:tag => "v#{version}",
}

s.ios.deployment_target = '7.1'
Expand Down
7 changes: 2 additions & 5 deletions src/objective-c/!ProtoCompiler-gRPCPlugin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Pod::Spec.new do |s|
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them.
s.name = '!ProtoCompiler-gRPCPlugin'
v = '1.0.2'
v = '1.1.0-dev'
s.version = v
s.summary = 'The gRPC ProtoC plugin generates Objective-C files from .proto services.'
s.description = <<-DESC
Expand Down Expand Up @@ -84,10 +84,7 @@ Pod::Spec.new do |s|
repo = 'grpc/grpc'
file = "grpc_objective_c_plugin-#{v}-macos-x86_64.zip"
s.source = {
# TODO(mxyan): Change back to "https://github.com/#{repo}/releases/download/v#{v}/#{file}" for
# next release
# :http => "https://github.com/#{repo}/releases/download/v#{v}/#{file}",
:http => "https://github.com/#{repo}/releases/download/objective-c-v#{v}/#{file}",
:http => "https://github.com/#{repo}/releases/download/v#{v}/#{file}",
# TODO(jcanizales): Add sha1 or sha256
# :sha1 => '??',
}
Expand Down
Loading

0 comments on commit 690aee6

Please sign in to comment.