Skip to content

Commit

Permalink
Fix SHA command and check LICENSE is copied as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Jan 29, 2024
1 parent db45d97 commit ecb15b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release_swift_bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,15 @@ jobs:
mkdir -p Sources/LibXMTP
mv build/swift/xmtpv3.swift Sources/LibXMTP/
make framework
zip -r LibXMTPSwiftFFI.zip Sources LibXMTPRust.xcframework ../LICENSE
ls -la ../
cp ../LICENSE ./LICENSE
zip -r LibXMTPSwiftFFI.zip Sources LibXMTPRust.xcframework LICENSE
- name: Calculate checksum
id: checksum
working-directory: bindings_ffi
run: |
echo "::set-output name=checksum::$(swift package compute-checksum LibXMTPSwiftFFI.zip)"
echo "::set-output name=checksum::$(shasum -a 256 LibXMTPSwiftFFI.zip | awk '{ print $1 }')"
- name: Get short SHA
id: slug
Expand Down

0 comments on commit ecb15b7

Please sign in to comment.