diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a54392..b2936e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,15 @@ jobs: asset_path: ./client/bin/Posthoc-darwin-arm64.zip asset_name: Posthoc-darwin-arm64.zip asset_content_type: application/zip + - name: Upload release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./client/bin/Posthoc-darwin-x64.zip + asset_name: Posthoc-darwin-x64.zip + asset_content_type: application/zip - name: Upload release asset uses: actions/upload-release-asset@v1 env: diff --git a/client/package.sh b/client/package.sh index ee1d74f..a54c52f 100644 --- a/client/package.sh +++ b/client/package.sh @@ -1,9 +1,11 @@ npx electron-packager . Posthoc --dir dist --platform=win32 --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin npx electron-packager . Posthoc --dir dist --platform=linux --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin npx electron-packager . Posthoc --dir dist --platform=darwin --arch=arm64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin +npx electron-packager . Posthoc --dir dist --platform=darwin --arch=x64 --electronVersion=26.2.1 --ignore node_modules --ignore src --overwrite --icon ./dist/favicon --out bin cd bin zip -r Posthoc-linux-x64.zip Posthoc-linux-x64 zip -r Posthoc-win32-x64.zip Posthoc-win32-x64 zip -r Posthoc-darwin-arm64.zip Posthoc-darwin-arm64 +zip -r Posthoc-darwin-x64.zip Posthoc-darwin-x64