move bundle step after publish

This commit is contained in:
RaidMax 2022-04-19 22:37:45 -05:00
parent 3cb50635e5
commit d7c4f5452c

View File

@ -65,6 +65,19 @@ steps:
platform: '$(buildPlatform)' platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)' configuration: '$(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: 'Publish projects'
inputs:
command: 'publish'
publishWebProjects: false
projects: |
**/WebfrontCore.csproj
**/Application.csproj
arguments: '-c $(buildConfiguration) -o $(outputFolder) /p:Version=$(Build.BuildNumber)'
zipAfterPublish: false
modifyOutputPath: false
- task: PowerShell@2 - task: PowerShell@2
displayName: 'Bundle JS Files' displayName: 'Bundle JS Files'
inputs: inputs:
@ -80,18 +93,6 @@ steps:
failOnStderr: true failOnStderr: true
workingDirectory: '$(Build.Repository.LocalPath)\WebfrontCore' workingDirectory: '$(Build.Repository.LocalPath)\WebfrontCore'
- task: DotNetCoreCLI@2
displayName: 'Publish projects'
inputs:
command: 'publish'
publishWebProjects: false
projects: |
**/WebfrontCore.csproj
**/Application.csproj
arguments: '-c $(buildConfiguration) -o $(outputFolder) /p:Version=$(Build.BuildNumber)'
zipAfterPublish: false
modifyOutputPath: false
- task: PowerShell@2 - task: PowerShell@2
displayName: 'Run publish script 1' displayName: 'Run publish script 1'
inputs: inputs: