Deploy to CocoaPods
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -50,13 +50,14 @@ jobs:
|
||||
install: gem install jazzy
|
||||
script: |
|
||||
jazzy \
|
||||
--min-acl internal \
|
||||
--no-hide-documentation-coverage \
|
||||
--theme fullwidth \
|
||||
--output output \
|
||||
--readme README.md \
|
||||
--root-url https://mxcl.github.io/Path.swift/ \
|
||||
--github_url https://github.com/mxcl/Path.swift
|
||||
--github_url https://github.com/mxcl/Path.swift \
|
||||
--module Path \
|
||||
--module-version $TRAVIS_TAG
|
||||
deploy:
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
@@ -64,3 +65,8 @@ jobs:
|
||||
local-dir: output
|
||||
on:
|
||||
tags: true
|
||||
|
||||
- stage: deploy
|
||||
name: CocoaPods
|
||||
install: gem install cocoapods --pre
|
||||
script: pod trunk push --allow-warnings
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'Path.swift'
|
||||
s.version = '0.3.0'
|
||||
s.version = '0.4.0'
|
||||
s.summary = 'Delightful, robust file-pathing functions'
|
||||
s.homepage = 'https://github.com/mxcl/Path.swift'
|
||||
s.license = { :type => 'Unlicense', :file => 'LICENSE.md' }
|
||||
|
||||
@@ -183,13 +183,13 @@ Path("~foo") // => nil
|
||||
SwiftPM:
|
||||
|
||||
```swift
|
||||
package.append(.package(url: "https://github.com/mxcl/Path.swift", from: "0.3.0"))
|
||||
package.append(.package(url: "https://github.com/mxcl/Path.swift", from: "0.4.0"))
|
||||
```
|
||||
|
||||
CocoaPods:
|
||||
|
||||
```ruby
|
||||
pod 'Path.swift' ~> 0.3.0
|
||||
pod 'Path.swift' ~> 0.4.0
|
||||
```
|
||||
|
||||
Please note! We are pre 1.0, thus we can change the API as we like! We will tag
|
||||
|
||||
Reference in New Issue
Block a user