diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a679670..10054b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,17 +38,17 @@ jobs: python -m pip install pyinstaller - name: Compile single executable for Windows/Linux - run: pyinstaller --onefile --noconfirm --clean --name=${{ matrix.artifact_name }} src/bitsrun/cli.py + run: pyinstaller --onefile --noconfirm --clean --name=bitsrun src/bitsrun/cli.py if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest' - name: Compile single executable for macOS - run: pyinstaller --onefile --noconfirm --clean --name=${{ matrix.artifact_name }} --target-arch=universal2 src/bitsrun/cli.py + run: pyinstaller --onefile --noconfirm --clean --name=bitsrun --target-arch=universal2 src/bitsrun/cli.py if: matrix.os == 'macos-latest' - name: Package binaries for Linux/macOS run: | cd dist - tar -czvf ${{ matrix.release_name }} ${{ matrix.artifact_name }} + tar -czvf bitsrun.tar.gz bitsrun cd - if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'