artifacts
This commit is contained in:
@ -35,7 +35,7 @@ publish:
|
||||
stage: deploy
|
||||
artifacts:
|
||||
paths:
|
||||
- bin/Release/netcoreapp2.1/publish/
|
||||
- src/nuget-host/bin/Release/netcoreapp2.1/publish/
|
||||
script:
|
||||
- dotnet publish --version-suffix ci --configuration Release --ignore-failed-sources
|
||||
|
||||
@ -43,7 +43,7 @@ pack:
|
||||
stage: deploy
|
||||
artifacts:
|
||||
paths:
|
||||
- bin/Release/nuget-host.*.nupkg
|
||||
- src/nuget-host/bin/Release/nuget-host.*.nupkg
|
||||
script:
|
||||
- dotnet pack --configuration Release --no-restore
|
||||
- nuget push -Source $NUGETSOURCE -ApiKey $NUGETSOURCEAPIKEY src/nuget-host/bin/Release/nuget-host.*.nupkg
|
||||
- nuget push -Source $NUGETSOURCE -ApiKey "$NUGETSOURCEAPIKEY" src/nuget-host/bin/Release/nuget-host.*.nupkg
|
||||
|
23
.vscode/launch.json
vendored
23
.vscode/launch.json
vendored
@ -6,7 +6,7 @@
|
||||
"configurations": [
|
||||
{
|
||||
"name": ".NET Core Launch (web)",
|
||||
"type": "clr",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build",
|
||||
"program": "${workspaceFolder}/src/nuget-host/bin/Debug/netcoreapp2.1/nuget-host.dll",
|
||||
@ -24,27 +24,6 @@
|
||||
"sourceFileMap": {
|
||||
"/Views": "${workspaceFolder}/src/nuget-host/Views"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": ".NET Core Launch (prod)",
|
||||
"type": "clr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build",
|
||||
"program": "${workspaceFolder}/src/nuget-host/bin/Debug/netcoreapp2.1/nuget-host.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/src/nuget-host/",
|
||||
"stopAtEntry": false,
|
||||
"requireExactSource": false,
|
||||
"serverReadyAction": {
|
||||
"action": "openExternally",
|
||||
"pattern": "\\\\bNow listening on:\\\\s+(https?://\\\\S+)"
|
||||
},
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Production"
|
||||
},
|
||||
"sourceFileMap": {
|
||||
"/Views": "${workspaceFolder}/src/nuget-host/Views"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
19
.vscode/tasks.json
vendored
19
.vscode/tasks.json
vendored
@ -32,7 +32,22 @@
|
||||
"type": "process",
|
||||
"args": [
|
||||
"publish",
|
||||
"${workspaceFolder}/nuget-host.csproj",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "test",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"options": {
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"args": [
|
||||
"test",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
@ -58,7 +73,7 @@
|
||||
],
|
||||
"options": {
|
||||
"env": {
|
||||
"ASPNETCORE_ENV": "Development"
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"problemMatcher": "$msCompile"
|
||||
|
Reference in New Issue
Block a user