From 2da2e85a5b948b6d055d7e8431d03f3d81c23486 Mon Sep 17 00:00:00 2001 From: John McKisson Date: Wed, 15 May 2024 11:49:23 -0400 Subject: [PATCH] fix moving installer --- CI/deploy-mudlet-for-windows.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/CI/deploy-mudlet-for-windows.sh b/CI/deploy-mudlet-for-windows.sh index 57e85d6145f..a5188387897 100644 --- a/CI/deploy-mudlet-for-windows.sh +++ b/CI/deploy-mudlet-for-windows.sh @@ -274,7 +274,7 @@ else rm -rf "${PACKAGE_DIR:?}/*" echo "=== Copying installer over ===" - mv "$GITHUB_WORKSPACE/squirreloutput/*" "$PACKAGE_DIR" + mv "$GITHUB_WORKSPACE/squirreloutput/Setup.exe" "$PACKAGE_DIR" setupExePath="$PACKAGE_DIR/Setup.exe" @@ -313,16 +313,16 @@ else SHA256SUM=$(shasum -a 256 "$setupExePath" | awk '{print $1}') # file_cat=3 asuming Windows is the 3rd item in WP-Download-Manager category - curl -X POST 'https://www.mudlet.org/wp-content/plugins/wp-downloadmanager/download-add.php' \ - -H "x-wp-download-token: $X_WP_DOWNLOAD_TOKEN" \ - -F "file_type=2" \ - -F "file_remote=$DEPLOY_URL" \ - -F "file_name=Mudlet-${VERSION} (Linux)" \ - -F "file_des=sha256: $SHA256SUM" \ - -F "file_cat=3" \ - -F "file_permission=-1" \ - -F "output=json" \ - -F "do=Add File" + echo "curl -X POST 'https://www.mudlet.org/wp-content/plugins/wp-downloadmanager/download-add.php'" \ + "-H x-wp-download-token: $X_WP_DOWNLOAD_TOKEN" \ + "-F file_type=2" \ + "-F file_remote=$DEPLOY_URL" \ + "-F file_name=Mudlet-${VERSION} (Linux)" \ + "-F file_des=sha256: $SHA256SUM" \ + "-F file_cat=3" \ + "-F file_permission=-1" \ + "-F output=json" \ + "-F do=Add File" fi echo "=== Installing dblsqd-cli ==="