Update ci-build.yaml for Azure Pipelines

pull/3400/head
Jamie 5 years ago
parent 58b9355664
commit 6b0760681d

@ -20,7 +20,8 @@ variables:
csProj: '**/*.csproj' csProj: '**/*.csproj'
buildConfiguration: 'Release' buildConfiguration: 'Release'
publishLocation: '$(Build.SourcesDirectory)/src/Ombi/bin/Release/netcoreapp3.0' publishLocation: '$(Build.SourcesDirectory)/src/Ombi/bin/Release/netcoreapp3.0'
gitTag: 'v4.0.$(Build.BuildId)' buildVersion: '4.0.$(Build.BuildId)'
gitTag: 'v$(buildVersion)'
uiLocation: '$(Build.SourcesDirectory)/src/Ombi/ClientApp/' uiLocation: '$(Build.SourcesDirectory)/src/Ombi/ClientApp/'
pool: pool:
@ -55,7 +56,7 @@ steps:
targetType: 'inline' targetType: 'inline'
script: | script: |
dotnet tool install -g dotnet-setversion dotnet tool install -g dotnet-setversion
setversion -r $(gitTag) setversion -r $(buildVersion)
- task: Yarn@3 - task: Yarn@3
displayName: 'Install UI Dependancies' displayName: 'Install UI Dependancies'

Loading…
Cancel
Save