Skip to content

Commit

Permalink
Debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
simlay committed Apr 27, 2024
1 parent b1c83dd commit 31b5ad4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
workflow_dispatch:
release:
types: [created]
push:
branches:
- simlay/release-ci-for-swift-and-kotlin

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -82,7 +85,8 @@ jobs:

- name: Update version and checksum of xcframework in Package.swift
run: |
ls ./target/uniffi/swift/
ls -lah ./target/uniffi/swift/liveview_native_core.xcframework.zip
echo checksum=$(swift package compute-checksum ./target/uniffi/swift/liveview_native_core.xcframework.zip)
checksum=$(swift package compute-checksum ./target/uniffi/swift/liveview_native_core.xcframework.zip)
version=${{ github.event.release.tag_name }}
sed -i "" -E "s/(let releaseTag = \")[^\"]+(\")/\1$version\2/g" Package.swift
Expand Down

0 comments on commit 31b5ad4

Please sign in to comment.