Deploy to CocoaPods
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -50,13 +50,14 @@ jobs:
|
|||||||
install: gem install jazzy
|
install: gem install jazzy
|
||||||
script: |
|
script: |
|
||||||
jazzy \
|
jazzy \
|
||||||
--min-acl internal \
|
|
||||||
--no-hide-documentation-coverage \
|
--no-hide-documentation-coverage \
|
||||||
--theme fullwidth \
|
--theme fullwidth \
|
||||||
--output output \
|
--output output \
|
||||||
--readme README.md \
|
--readme README.md \
|
||||||
--root-url https://mxcl.github.io/Path.swift/ \
|
--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:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
skip-cleanup: true
|
skip-cleanup: true
|
||||||
@@ -64,3 +65,8 @@ jobs:
|
|||||||
local-dir: output
|
local-dir: output
|
||||||
on:
|
on:
|
||||||
tags: true
|
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|
|
Pod::Spec.new do |s|
|
||||||
s.name = 'Path.swift'
|
s.name = 'Path.swift'
|
||||||
s.version = '0.3.0'
|
s.version = '0.4.0'
|
||||||
s.summary = 'Delightful, robust file-pathing functions'
|
s.summary = 'Delightful, robust file-pathing functions'
|
||||||
s.homepage = 'https://github.com/mxcl/Path.swift'
|
s.homepage = 'https://github.com/mxcl/Path.swift'
|
||||||
s.license = { :type => 'Unlicense', :file => 'LICENSE.md' }
|
s.license = { :type => 'Unlicense', :file => 'LICENSE.md' }
|
||||||
|
|||||||
@@ -183,13 +183,13 @@ Path("~foo") // => nil
|
|||||||
SwiftPM:
|
SwiftPM:
|
||||||
|
|
||||||
```swift
|
```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:
|
CocoaPods:
|
||||||
|
|
||||||
```ruby
|
```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
|
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