Skip to content

Commit

Permalink
Updated deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
amichnia committed Dec 19, 2019
1 parent 6909197 commit 668b0d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Podspec.template
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
8 changes: 4 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 668b0d0

Please sign in to comment.