ci/cd调整
This commit is contained in:
@@ -6,7 +6,7 @@ Write-Host "`n[1/7] Handle private dependencies..." -ForegroundColor Yellow
|
||||
if (Test-Path "..\common") {
|
||||
Copy-Item -Path "..\common" -Destination ".\common" -Recurse -Force
|
||||
$content = Get-Content go.mod -Raw
|
||||
$content = $content -replace 'replace gitea\.com/red-future/common => \.\./common', 'replace gitea.com/red-future/common => ./common'
|
||||
$content = $content -replace 'replace gitea\.com/red-future/common => \.\./common', 'replace gitea.redpowerfuture.com/red-future/common => ./common'
|
||||
Set-Content go.mod $content -NoNewline
|
||||
Write-Host "[OK] Dependencies ready" -ForegroundColor Green
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user