diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53c8ec5d..ed9bdca3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,9 +63,12 @@ jobs: if: matrix.platform == 'mac' run: | yarn run electron-builder --${{ matrix.platform }} --x64 -p never | sed 's/identityName=.*$//' + mv latest-mac.yml latest-mac-x64.yml cp ./files/*pty.node ./node_modules/node-pty/build/Release/pty.node sed -i '' 's/out\/mac\/Yank Note.app/out\/mac-arm64\/Yank Note.app/' electron-builder.json yarn run electron-builder --${{ matrix.platform }} --arm64 -p never | sed 's/identityName=.*$//' + mv latest-mac.yml latest-mac-arm64.yml + cat latest-mac-arm64.yml latest-mac-x64.yml | sed '9,13d' > latest-mac.yml - name: GH Release uses: softprops/action-gh-release@v0.1.5