File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,14 @@ jobs:
2929 with :
3030 upload_url : ${{ github.event.release.upload_url }}
3131 asset_path : ${{ runner.temp }}/archive.zip
32- asset_name : rswift-${{ github.ref }}.zip
32+ asset_name : rswift-${{ github.event.release.tag_name }}.zip
3333 asset_content_type : application/zip
3434 - name : Publish to Cocoapods
35- run : pod trunk push
35+ run : |
36+ POD_VERSION=$(echo $TAG_NAME | cut -c2-)
37+ pod trunk push
3638 env :
37- POD_VERSION : ${{ github.event.release.tag_name }}
39+ TAG_NAME : ${{ github.event.release.tag_name }}
3840 COCOAPODS_TRUNK_TOKEN : ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
3941
4042 - name : Store artifact
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |spec |
22
33 spec . name = "R.swift"
4- spec . version = ENV [ 'POD_VERSION' ] . slice! ( 0 )
4+ spec . version = ENV [ 'POD_VERSION' ]
55 spec . license = "MIT"
66
77 spec . summary = "Get strong typed, autocompleted resources like images, fonts and segues in Swift projects"
You can’t perform that action at this time.
0 commit comments