From 3e40eb0c6e5fbb40321896069a4c3acc2e1d95ab Mon Sep 17 00:00:00 2001 From: Ash Manning Date: Sat, 16 Mar 2024 04:30:58 +0800 Subject: [PATCH] use zip file for releases.drivechain.info --- .github/workflows/check_lint_build.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_lint_build.yaml b/.github/workflows/check_lint_build.yaml index 99b38e7..49d77f3 100644 --- a/.github/workflows/check_lint_build.yaml +++ b/.github/workflows/check_lint_build.yaml @@ -180,6 +180,15 @@ jobs: with: tag: ${{ github.ref_name }} + - name: Create zip files for releases.drivechain.info + run: | + mv bitassets-*-x86_64-apple-darwin bitassets-latest-x86_64-apple-darwin + zip L2-S4-BitAssets-latest-x86_64-apple-darwin.zip bitassets-latest-x86_64-apple-darwin + mv bitassets-*-x86_64-pc-windows-gnu.exe bitassets-latest-x86_64-pc-windows-gnu.exe + zip L2-S4-BitAssets-latest-x86_64-pc-windows-gnu.zip bitassets-latest-x86_64-pc-windows-gnu.exe + mv bitassets-*-x86_64-unknown-linux-gnu bitassets-latest-x86_64-unknown-linux-gnu + zip L2-S4-BitAssets-latest-x86_64-unknown-linux-gnu.zip bitassets-latest-x86_64-unknown-linux-gnu + - name: Upload release assets to releases.drivechain.info uses: cross-the-world/ssh-scp-ssh-pipelines@latest with: @@ -188,6 +197,4 @@ jobs: pass: ${{ secrets.RELEASES_SERVER_PW }} port: 22 scp: | - 'bitassets-*-x86_64-apple-darwin' => '/var/www/html/L2-BitAssets-latest-x86_64-apple-darwin' - 'bitassets-*-x86_64-pc-windows-gnu.exe' => '/var/www/html/L2-BitAssets-latest-x86_64-pc-windows-gnu.exe' - 'bitassets-*-x86_64-unknown-linux-gnu' => '/var/www/html/L2-BitAssets-latest-x86_64-unknown-linux-gnu' + 'L2-S4-BitAssets-latest-*.zip' => '/var/www/html/'