cambio output nuget
This commit is contained in:
+8
-2
@@ -3,6 +3,9 @@ variables:
|
||||
NEW_REL: ''
|
||||
NUM_REL: '0.1.2.3'
|
||||
NUM_DEB: '0.1.2-beta.3'
|
||||
PACK_VER: '0.1.2'
|
||||
PACK_SUF_REL: '.3'
|
||||
PACK_SUF_DEB: '-beta.3'
|
||||
APP_NAME: 'Egw.Core.Razor.Comp'
|
||||
SOL_NAME: 'Egw.Core.Razor.Comp'
|
||||
NUGET_PATH: 'C:\Tools\nuget.exe'
|
||||
@@ -33,6 +36,9 @@ variables:
|
||||
- |
|
||||
$env:NEW_REL = $env:VERS_MAIN+"."+(get-date –format yyMM)+"."+(get-date –format ddHH)
|
||||
$env:NUM_REL = $env:VERS_MAIN+"."+(get-date –format yyMM)+"."+(get-date –format dHH)
|
||||
$env:PACK_VER = $env:VERS_MAIN+"."+(get-date –format yyMM)
|
||||
$env:PACK_SUF_REL = "."+(get-date –format dHH)
|
||||
$env:PACK_SUF_DEB = "-beta."+(get-date –format dHH)
|
||||
$env:NUM_DEB = $env:VERS_MAIN+"."+(get-date –format yyMM)+"-beta."+(get-date –format dHH)
|
||||
$env:NEW_COPYRIGHT = "EgalWare @ 2022-" + (get-date -format yyyy)
|
||||
# display versioni generate
|
||||
@@ -101,7 +107,7 @@ Egw.Core.Razor.Comp:staging:
|
||||
- *nuspec-fix
|
||||
script:
|
||||
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- dotnet pack -p:Configuration=Debug -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- dotnet pack -p:Configuration=Debug -p:verbosity=quiet -p:PackageVersion=$env:PACK_VER -p:version-suffix=$env:PACK_SUF_DEB $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/Debug/*.$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
@@ -125,7 +131,7 @@ Egw.Core.Razor.Comp:release:
|
||||
- *nuspec-fix
|
||||
script:
|
||||
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- dotnet pack -p:Configuration=Release -p:verbosity=quiet $env:APP_NAME/$env:APP_NAME.csproj
|
||||
- dotnet pack -p:Configuration=Debug -p:verbosity=quiet -p:PackageVersion=$env:PACK_VER -p:version-suffix=$env:PACK_SUF_REL $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'
|
||||
|
||||
Reference in New Issue
Block a user