Applied single file publish

pull/3862/head
tidusjar 4 years ago
parent 6b668c62d6
commit 056a7b48aa

@ -5,7 +5,7 @@ steps:
displayName: 'Use .NET Core sdk '
inputs:
packageType: 'sdk'
version: '3.x'
version: '5.x'
- task: Yarn@3
displayName: 'Install UI Dependancies'

@ -3,7 +3,7 @@ steps:
displayName: 'Use .NET Core sdk '
inputs:
packageType: 'sdk'
version: '3.x'
version: '5.x'
- task: DotNetCoreInstaller@1
displayName: 'Use .NET Core sdk for versioning'
@ -24,7 +24,7 @@ steps:
inputs:
command: 'publish'
publishWebProjects: true
arguments: '-c $(BuildConfiguration) -r "$(runtime)" -o $(Build.ArtifactStagingDirectory)/$(runtime)'
arguments: '-c $(BuildConfiguration) -r "$(runtime)" -o $(Build.ArtifactStagingDirectory)/$(runtime)' --self-contained true -p:PublishSingleFile=true
zipAfterPublish: false
modifyOutputPath: false

@ -12,7 +12,7 @@ variables:
value: "**/*.Tests.csproj"
- name: "NetCoreVersion"
value: "3.1"
value: "5.0"
- name: "PublishLocation"
value: "$(Build.SourcesDirectory)/src/Ombi/bin/Release/netcoreapp$(NetCoreVersion)"

Loading…
Cancel
Save