File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Prepare release
2
+
3
+ on :
4
+ push :
5
+ branches : [ automate-versioning ]
6
+
7
+ jobs :
8
+ prepare-release :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout code
12
+ uses : actions/checkout@v2
13
+ with :
14
+ fetch-depth : 0
15
+ - name : Fetch the lastest release version
16
+ id : fetch_latest_release
17
+ uses : thebritican/fetch-latest-release@v1
18
+ with :
19
+ github_token : ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
20
+ - uses : actions/checkout@v2
21
+ with :
22
+ repository : pusher/actions
23
+ token : ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
24
+ path : .github/actions
25
+ - uses : ./.github/actions/prepare-version-bump
26
+ id : bump
27
+ with :
28
+ current_version : ${{ steps.fetch_latest_release.outputs.tag_name }}
29
+ - uses : actions/setup-node@v3
30
+ run : |
31
+ npm install -g podspec-bump
32
+ podspec-bump -i ${{ steps.bump.outputs.new_version }} -w -p PusherSwift.podspec
33
+ podspec-bump -i ${{ steps.bump.outputs.new_version }} -w -p PusherSwiftWithEncryption.podspec
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'PusherSwift'
3
- s . version = '10. 1.0'
3
+ s . version = '1.0.3 '
4
4
s . summary = 'A Pusher client library in Swift'
5
5
s . homepage = 'https://github.com/pusher/pusher-websocket-swift'
6
6
s . license = 'MIT'
You can’t perform that action at this time.
0 commit comments