File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Push to Trunk
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " *"
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : macOS-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v1
14
+
15
+ - name : Deploy to Cocoapods
16
+ run : |
17
+ set -eo pipefail
18
+ export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
19
+ pod lib lint --allow-warnings
20
+ pod trunk push --allow-warnings
21
+ env :
22
+ COCOAPODS_TRUNK_TOKEN : ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "Gifu"
3
- s . version = "3.4 .1"
3
+ s . version = ENV [ 'LIB_VERSION' ] || "0.0 .1"
4
4
s . summary = "High-performance animated GIF support for iOS "
5
5
s . homepage = "https://github.com/kaishin/Gifu"
6
6
s . social_media_url = "http://twitter.com/kaishin"
You can’t perform that action at this time.
0 commit comments