Skip to content

Commit

Permalink
Codesign xcframework
Browse files Browse the repository at this point in the history
  • Loading branch information
melekr committed Aug 12, 2024
1 parent 93ad712 commit d22ac4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ jobs:
run: sh scripts/xcframeworkgen.sh
env:
BACKTRACE_VERSION: ${{ github.ref_name }}

- name: Codesign frameworks
env:
DISTRIBUTION_IDENTITY: ${{ secrets.DISTRIBUTION_IDENTITY }}
run:
codesign --force --timestamp --deep --sign "$DISTRIBUTION_IDENTITY" Backtrace.xcframework

- name: Tar files to preserve file permissions
run: tar -cvzf Archive_XCFrameworks_${{ github.ref_name }}.tar.gz frameworks/
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -o xtrace # to trace what gets executed. Useful for debugging

# This script requires the `COCOAPODS_TRUNK_TOKEN` env var to be set.
# See more: https://fuller.li/posts/automated-cocoapods-releases-with-ci/.
pod trunk push Backtrace.podspec --allow-warnings
#pod trunk push Backtrace.podspec --allow-warnings

0 comments on commit d22ac4b

Please sign in to comment.