Introduzione Script per Upload nuget in Nexus

This commit is contained in:
marco.locatelli@steamware.net
2024-09-04 09:36:40 +02:00
parent 4ed53af2e3
commit aae5a09a1c
2 changed files with 13 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#SCRIPT POWERSHELL PER UPLOAD NUGET.nupkg SU REPOSITORY NEXUS.STEAMWARE.NET
#percorso dell'eseguibile nuget.exe che fa l'upload
$pathNugetExe = 'C:\Users\marco.locatelli\Documents\Emgu.CV\nuget.exe'
#chiave API per autenticazione su nexus.steamware.net
$apiKey = fe387daa-d07c-3207-877e-96c8be1be91b
#indirizzo del repository online su cui uploadare il pacchetto
$repoUrl = 'http://nexus.steamware.net/repository/nuget-hosted'
#path del pacchetto nupkg da uploadare
$nupkgToUpload = 'C:\Users\marco.locatelli\Documents\Emgu.CV\Emgu.runtime.windows.cuda.dnn.cnn.infer.8.8.0.nupkg'
& $pathNugetExe setapikey $apiKey -source $repoUrl
& $pathNugetExe push $nupkgToUpload -Source $repoUrl
Binary file not shown.