Skip to content

Commit c17a027

Browse files
committed
fix: bug
1 parent 86400cc commit c17a027

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,15 @@ jobs:
2929
CODE_SIGNING_REQUIRED=NO \
3030
CODE_SIGNING_ALLOWED=NO
3131
32-
- name: Export app
33-
env:
34-
ARCH: ${{ matrix.arch }}
35-
run: |
36-
mkdir -p build/export
37-
cp -R "build/open-sidenotes-${ARCH}.xcarchive/Products/Applications/open-sidenotes.app" build/export/
38-
3932
- name: Create DMG
4033
env:
4134
ARCH: ${{ matrix.arch }}
4235
run: |
36+
mkdir -p build/dmg
37+
cp -R "build/open-sidenotes-${ARCH}.xcarchive/Products/Applications/open-sidenotes.app" build/dmg/
38+
ln -s /Applications build/dmg/Applications
4339
hdiutil create -volname "Open Sidenotes" \
44-
-srcfolder build/export/open-sidenotes.app \
40+
-srcfolder build/dmg \
4541
-ov -format UDZO \
4642
"build/open-sidenotes-${ARCH}.dmg"
4743

0 commit comments

Comments
 (0)