修改网络问题
This commit is contained in:
@@ -111,8 +111,12 @@ jobs:
|
|||||||
$configContent = Get-Content "config.py" -Raw
|
$configContent = Get-Content "config.py" -Raw
|
||||||
if ($configContent -match 'APP_VERSION\s*=\s*"([\d.]+)"') {
|
if ($configContent -match 'APP_VERSION\s*=\s*"([\d.]+)"') {
|
||||||
$VERSION = $matches[1]
|
$VERSION = $matches[1]
|
||||||
Write-Host "Detected version: $VERSION"
|
Write-Host "Extracted version from config.py: $VERSION"
|
||||||
|
} else {
|
||||||
|
Write-Host "Failed to extract version from config.py"
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
Write-Host "config.py not found"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set version for next steps
|
# Set version for next steps
|
||||||
|
|||||||
Reference in New Issue
Block a user