fix 'pod trunk push' commands

must push one spec at a time, and if more than one exists,
must specify them by name.

Also include the 'LICENSE' file in the portable zip and let
SwiftLint.podspec know about it.
This commit is contained in:
JP Simard
2016-12-18 18:16:22 -08:00
parent 83f0911e1b
commit 7abbd847e3
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ Pod::Spec.new do |s|
s.version = `make get_version`
s.summary = 'A tool to enforce Swift style and conventions.'
s.homepage = 'https://github.com/realm/SwiftLint'
s.license = 'MIT'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'JP Simard' => 'jp@jpsim.com' }
s.source = { :http => "#{s.homepage}/releases/download/#{s.version}/portable_swiftlint.zip" }
s.preserve_paths = '*'