Skip to content

Commit eb82552

Browse files
committed
fix(release): carry lipo argument fix to main
1 parent 9314146 commit eb82552

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ jobs:
248248
lipo -create desktop/src-tauri/binaries/ocx-aarch64-apple-darwin \
249249
desktop/src-tauri/binaries/ocx-x86_64-apple-darwin \
250250
-output desktop/src-tauri/binaries/ocx-universal-apple-darwin
251-
lipo -verify_arch arm64 x86_64 desktop/src-tauri/binaries/ocx-universal-apple-darwin
251+
lipo desktop/src-tauri/binaries/ocx-universal-apple-darwin -verify_arch arm64 x86_64
252252
253253
- name: Prepare sidecar
254254
if: runner.os != 'macOS'

‎tests/ci-workflows/release-desktop-scripts.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ describe("widget extension signing", () => {
436436
const sidecars = steps.find(step => step.name === "Prepare macOS sidecars");
437437
expect(sidecars?.run).toContain("lipo -create desktop/src-tauri/binaries/ocx-aarch64-apple-darwin");
438438
expect(sidecars?.run).toContain("-output desktop/src-tauri/binaries/ocx-universal-apple-darwin");
439-
expect(sidecars?.run).toContain("lipo -verify_arch arm64 x86_64");
439+
expect(sidecars?.run).toContain("lipo desktop/src-tauri/binaries/ocx-universal-apple-darwin -verify_arch arm64 x86_64");
440440
const prepare = steps.find(step => step.name === "Prepare Windows installer version");
441441
expect(prepare?.if).toBe("runner.os == 'Windows'");
442442
expect(prepare?.env?.RELEASE_VERSION).toBe("${{ inputs.version }}");

0 commit comments

Comments
 (0)