diff --git a/Podspec.template b/Podspec.template index cc05ec93..9f6430e6 100644 --- a/Podspec.template +++ b/Podspec.template @@ -11,8 +11,8 @@ Library that uses metaprogramming technique to generate mocks based on sources, s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'Przemysław Wośko' => 'przemyslaw.wosko@intive.com', 'Andrzej Michnia' => 'amichnia@gmail.com' } s.source = { :git => 'https://github.com/MakeAWishFoundation/SwiftyMocky.git', :tag => s.version.to_s } + s.swift_versions = ['4.1', '4.2', '5.0', '5.1.2'] - s.ios.deployment_target = '8.0' s.tvos.deployment_target = '9.0' s.macos.deployment_target = '10.10' diff --git a/Rakefile b/Rakefile index 549e5c00..748373f7 100644 --- a/Rakefile +++ b/Rakefile @@ -55,10 +55,10 @@ task :deploy do if version sh("sed 's|{{VERSION_NUMBER}}|#{version}|g' ./Podspec.template > ./SwiftyMocky.podspec") sh("git add ./SwiftyMocky.podspec") - # sh("git commit -m \"Deploy #{version}\"") - # sh("git push") - # sh("git tag #{version} && git push --tags") - # sh("pod trunk push") + sh("git commit -m \"Deploy #{version}\"") + sh("git push") + sh("git tag #{version} && git push --tags") + sh("pod trunk push") end end