Skip to content

Commit 1961648

Browse files
committed
Add release CI
1 parent 9b7ba8b commit 1961648

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release to Cocoapods
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
deploy:
7+
runs-on: macos-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- name: Install Cocoapods
12+
run: gem install cocoapods
13+
14+
- name: Deploy to Cocoapods
15+
run: |
16+
set -eo pipefail
17+
pod lib lint --allow-warnings
18+
pod trunk push --allow-warnings
19+
env:
20+
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ This module is an easy way to upload video file to the api.video platform
99

1010
1. Add the following entry to your Podfile:
1111
```swift
12-
pod ‘IosVideoUploader
12+
pod ‘VideoUploaderIos
1313
```
1414
3. Then run `pod install`
15-
4. Don’t forget to import ‘IosVideoUploader’ in every file you’d like to use api.video video uploader library
15+
4. Don’t forget to import ‘VideoUploaderIos’ in every file you’d like to use api.video video uploader library
1616

1717

1818
### FAQ

VideoUploaderIos.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'VideoUploaderIos'
11-
s.version = '0.0.2'
11+
s.version = '0.0.1'
1212
s.summary = 'A library to upload video files to api.video platform.'
1313

1414
# This description is used to generate tags and improve search results.

0 commit comments

Comments
 (0)