[patch] 修改逻辑: 在用户误触或开了多个GUI程序的时候不能同时建立多个连接 确保一个账号只能建立一个与后端的连接 友好提示的集成review 修改powershell语法问题
This commit is contained in:
@@ -354,23 +354,46 @@ jobs:
|
||||
- name: Upload installer to KS3
|
||||
if: success()
|
||||
shell: powershell
|
||||
timeout-minutes: 30
|
||||
run: |
|
||||
Write-Host "==========================================";
|
||||
Write-Host "Step 4.8: Upload installer to KS3";
|
||||
Write-Host "==========================================";
|
||||
Write-Host "NOTE: Large file upload may take 5-10 minutes";
|
||||
Write-Host "";
|
||||
|
||||
# Install KS3 SDK
|
||||
Write-Host "Installing KS3 SDK...";
|
||||
python -m pip install ks3sdk --quiet;
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "ERROR: Failed to install ks3sdk";
|
||||
Write-Host "Skipping KS3 upload (version release continues)";
|
||||
exit 0;
|
||||
}
|
||||
|
||||
Write-Host "Starting upload process...";
|
||||
Write-Host "This may take several minutes, please be patient...";
|
||||
Write-Host "";
|
||||
|
||||
# Run upload script
|
||||
python .gitea/scripts/upload_installer_to_ks3.py;
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "KS3 upload failed, but version release continues";
|
||||
Write-Host " You can manually upload the installer later";
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
Write-Host "";
|
||||
Write-Host "OK: Installer uploaded to KS3 successfully";
|
||||
} else {
|
||||
Write-Host "Installer uploaded to KS3 successfully";
|
||||
Write-Host "";
|
||||
Write-Host "WARNING: KS3 upload failed (exit code: $LASTEXITCODE)";
|
||||
Write-Host "NOTICE: Version release continues";
|
||||
Write-Host "NOTICE: You can manually upload the installer later";
|
||||
Write-Host "";
|
||||
Write-Host "Manual upload steps:";
|
||||
Write-Host " 1. Find installer in: installer/output/";
|
||||
Write-Host " 2. Upload to KS3 bucket: shuidrop-chat-server";
|
||||
Write-Host " 3. Target path: installers/";
|
||||
}
|
||||
|
||||
Write-Host "";
|
||||
|
||||
# Step 5: Commit version changes
|
||||
|
||||
Reference in New Issue
Block a user