Fix nome x upload nupkg
This commit is contained in:
+4
-4
@@ -67,8 +67,8 @@ variables:
|
||||
echo "Cambio nome nuget di sviluppo"
|
||||
$fileNameRel = "$env:APP_NAME/bin/Debug/$env:APP_NAME.$env:NUM_REL.nupkg";
|
||||
$fileNameDeb = $fileNameRel -replace $env:NUM_REL, $env:NUM_DEB;
|
||||
echo "Copy-Item $fileNameRel $fileNameDeb"
|
||||
Copy-Item $fileNameRel $fileNameDeb
|
||||
echo "Move-Item $fileNameRel $fileNameDeb"
|
||||
Move-Item $fileNameRel $fileNameDeb
|
||||
|
||||
stages:
|
||||
- build
|
||||
@@ -112,7 +112,7 @@ Egw.Core.Razor.Comp:staging:
|
||||
- dotnet pack -p:Configuration=Debug -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- *renameDeb
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push $env:APP_NAME/bin/Debug/*.$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push $env:APP_NAME/bin/Debug/$env:APP_NAME.$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
# ---------- RELEASE ----------
|
||||
Egw.Core.Razor.Comp:release:
|
||||
@@ -136,5 +136,5 @@ Egw.Core.Razor.Comp:release:
|
||||
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- dotnet pack -p:Configuration=Debug -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push $env:APP_NAME/bin/Release/*.$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push $env:APP_NAME/bin/Debug/$env:APP_NAME.$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
Reference in New Issue
Block a user