From 9599200f2529de44ba62d4662cddb445dc19397d Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Thu, 4 Jan 2024 13:01:52 +0100 Subject: [PATCH] Fix Cocoapods release (#1992) --- .github/workflows/ios-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ios-ci.yml b/.github/workflows/ios-ci.yml index 4f6aa354d..3b92b7cc4 100644 --- a/.github/workflows/ios-ci.yml +++ b/.github/workflows/ios-ci.yml @@ -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: