Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
include LICENSE.txt and CREDITS.txt into artifacts
  • Loading branch information
hotwatermorning committed Sep 17, 2019
1 parent f810547 commit 93209bb
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
displayName: build all
- task: CopyFiles@2
inputs:
sourceFolder: '$(System.DefaultWorkingDirectory)/build_release/Release'
contents: '**'
contents: |
'$(System.DefaultWorkingDirectory)/build_release/Release/**'
'$(System.DefaultWorkingDirectory)/LICENSE.txt'
'$(System.DefaultWorkingDirectory)/CREDITS.txt'
targetFolder: '$(Build.ArchiveStagingDirectory)'
displayName: Copy binaries
- task: PublishBuildArtifacts@1
Expand All @@ -51,8 +53,10 @@ jobs:
displayName: build all
- task: CopyFiles@2
inputs:
sourceFolder: '$(System.DefaultWorkingDirectory)/build_release/Release'
contents: '**'
contents: |
'$(System.DefaultWorkingDirectory)/build_release/Release/**'
'$(System.DefaultWorkingDirectory)/LICENSE.txt'
'$(System.DefaultWorkingDirectory)/CREDITS.txt'
targetFolder: '$(Build.ArchiveStagingDirectory)'
displayName: Copy binaries
- task: PublishBuildArtifacts@1
Expand All @@ -77,8 +81,10 @@ jobs:
displayName: build all
- task: CopyFiles@2
inputs:
sourceFolder: '$(System.DefaultWorkingDirectory)/build_release/Release'
contents: '**'
contents: |
'$(System.DefaultWorkingDirectory)/build_release/Release/**'
'$(System.DefaultWorkingDirectory)/LICENSE.txt'
'$(System.DefaultWorkingDirectory)/CREDITS.txt'
targetFolder: '$(Build.ArchiveStagingDirectory)'
displayName: Copy binaries
- task: PublishBuildArtifacts@1
Expand Down

0 comments on commit 93209bb

Please sign in to comment.