move bundle step after publish
This commit is contained in:
parent
3cb50635e5
commit
d7c4f5452c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user