Fix Cocoapods release (#1992)

This commit is contained in:
Bart Louwers
2024-01-04 13:01:52 +01:00
committed by GitHub
parent 39bcb210a0
commit 9599200f25

View File

@@ -227,16 +227,16 @@ jobs:
uses: softprops/action-gh-release@v1
with:
name: ios-v${{ env.version }}
files: |
${{ env.xcframework }}
LICENSE.md
files: ${{ env.xcframework }}
tag_name: ios-v${{ env.version }}
prerelease: ${{ !github.event.inputs.release }}
fail_on_unmatched_files: true
- name: Release (CocoaPods)
shell: bash -leo pipefail {0} # so pod is found
if: env.make_release
run: |
zip ${{ env.xcframework }} ../../LICENSE.md # add license to zip
VERSION=${{ env.version }} COCOAPODS_TRUNK_TOKEN=${{ secrets.COCOAPODS_PASSWORD }} pod trunk push MapLibre.podspec
ios-ci-result: