test nuova sisntassi controllo
This commit is contained in:
+10
-10
@@ -6,18 +6,18 @@ variables:
|
||||
.nuget-fix: &nuget-fix
|
||||
- |
|
||||
dotnet nuget list source
|
||||
$hasSource = dotnet nuget list source | find "`"Steamware Nexus Proxy`"" /C
|
||||
if ($hasSource -eq 1) {
|
||||
$hasSource = [String]::IsNullOrWhiteSpace(dotnet nuget list source | Select-String -Pattern "Steamware Nexus Proxy")
|
||||
if (!$hasSource) {
|
||||
dotnet nuget remove source "`"Steamware Nexus Proxy`""
|
||||
}
|
||||
$hasSource = dotnet nuget list source | find "`"Steamware Nexus`"" /C
|
||||
if ($hasSource -eq 1) {
|
||||
dotnet nuget remove source "`"Steamware Nexus`""
|
||||
}
|
||||
$hasSource = dotnet nuget list source | find nexus-proxy-v3 /C
|
||||
if ($hasSource -eq 1) {
|
||||
dotnet nuget remove source nexus-proxy-v3
|
||||
}
|
||||
# $hasSource = dotnet nuget list source | find "`"Steamware Nexus`"" /C
|
||||
# if ($hasSource -eq 1) {
|
||||
# dotnet nuget remove source "`"Steamware Nexus`""
|
||||
# }
|
||||
# $hasSource = dotnet nuget list source | find nexus-proxy-v3 /C
|
||||
# if ($hasSource -eq 1) {
|
||||
# dotnet nuget remove source nexus-proxy-v3
|
||||
# }
|
||||
# dotnet nuget remove source nexus-proxy-v3
|
||||
|
||||
# dotnet nuget add source https://nexus.steamware.net/repository/nuget-proxy-v3/index.json -n nexus-proxy-v3 -u nugetUser -p viaDante16 --valid-authentication-types basic
|
||||
|
||||
Reference in New Issue
Block a user