diff --git a/.github/workflows/build_cli_linux.yml b/.github/workflows/build_cli_linux.yml index b58e5c0..14adea7 100644 --- a/.github/workflows/build_cli_linux.yml +++ b/.github/workflows/build_cli_linux.yml @@ -205,6 +205,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.PAT }} with: upload_url: ${{ steps.get_release_url.outputs.upload_url }} - asset_path: ./artifacts/PornFetch_Linux_CLI__x32 + asset_path: ./artifacts/PornFetch_Linux_CLI_x32 asset_name: PornFetch_Linux_CLI_x32 asset_content_type: application/gzip diff --git a/.github/workflows/build_cli_windows.yml b/.github/workflows/build_cli_windows.yml index 6e4a3a4..fe14b4e 100644 --- a/.github/workflows/build_cli_windows.yml +++ b/.github/workflows/build_cli_windows.yml @@ -125,6 +125,23 @@ jobs: sha512sum ./artifacts/PornFetch_Windows_CLI_x32.exe | awk '{ print $1 }' > sha512_windows_x32.txt echo "sha512_windows_x32=$(cat sha512_windows_x32.txt)" >> $GITHUB_ENV + - name: Create GitHub Release + id: create_release + if: steps.check_release.outputs.release_exists == 'false' + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.PAT }} + SHA512_WINDOWS_X64: ${{ env.sha512_windows_x64 }} + with: + tag_name: v${{ secrets.VERSION }}-automated-${{ env.GITHUB_SHA_SHORT }} + release_name: Automated Release v${{ secrets.VERSION }}-${{ env.GITHUB_SHA_SHORT }} + body: | + This is an automated release generated by the CI/CD pipeline. + SHA512 Checksums: + + draft: false + prerelease: true + - name: Get current release body id: get_release_body run: | diff --git a/.github/workflows/build_gui_linux.yml b/.github/workflows/build_gui_linux.yml index a02e717..b130d3f 100644 --- a/.github/workflows/build_gui_linux.yml +++ b/.github/workflows/build_gui_linux.yml @@ -99,6 +99,23 @@ jobs: sha512sum ./artifacts/main.bin | awk '{ print $1 }' > sha512_linux_x64.txt echo "sha512_linux_x64=$(cat sha512_linux_x64.txt)" >> $GITHUB_ENV + - name: Create GitHub Release + id: create_release + if: steps.check_release.outputs.release_exists == 'false' + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.PAT }} + SHA512_WINDOWS_X64: ${{ env.sha512_windows_x64 }} + with: + tag_name: v${{ secrets.VERSION }}-automated-${{ env.GITHUB_SHA_SHORT }} + release_name: Automated Release v${{ secrets.VERSION }}-${{ env.GITHUB_SHA_SHORT }} + body: | + This is an automated release generated by the CI/CD pipeline. + SHA512 Checksums: + + draft: false + prerelease: true + - name: Get current release body id: get_release_body run: | diff --git a/.github/workflows/build_gui_windows.yml b/.github/workflows/build_gui_windows.yml index af30ba9..809f030 100644 --- a/.github/workflows/build_gui_windows.yml +++ b/.github/workflows/build_gui_windows.yml @@ -96,6 +96,23 @@ jobs: sha512sum ./artifacts/main.exe | awk '{ print $1 }' > sha512_windows_x64.txt echo "sha512_windows_x64=$(cat sha512_windows_x64.txt)" >> $GITHUB_ENV + - name: Create GitHub Release + id: create_release + if: steps.check_release.outputs.release_exists == 'false' + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.PAT }} + SHA512_WINDOWS_X64: ${{ env.sha512_windows_x64 }} + with: + tag_name: v${{ secrets.VERSION }}-automated-${{ env.GITHUB_SHA_SHORT }} + release_name: Automated Release v${{ secrets.VERSION }}-${{ env.GITHUB_SHA_SHORT }} + body: | + This is an automated release generated by the CI/CD pipeline. + SHA512 Checksums: + + draft: false + prerelease: true + - name: Get current release body id: get_release_body run: | diff --git a/README.md b/README.md index e17e144..7895fca 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,6 @@ Thank you all, I'll let you know when it's fixed. For updates, please refer to t

Porn Fetch - The Ultimate Open-Source Porn(Hub) Downloader

Build GUI Windows Status Build GUI Linux Status -Build GUI MacOS Status Build CLI Windows Status Build GUI CLI Linux Status CodeQL Analysis