Skip to content

Commit

Permalink
fix moving installer
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckisson committed May 15, 2024
1 parent 05ac9d8 commit 2da2e85
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions CI/deploy-mudlet-for-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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 ==="
Expand Down

0 comments on commit 2da2e85

Please sign in to comment.