Fix for wrong path in the build

This commit is contained in:
Robin Krom 2020-01-07 23:45:30 +01:00
commit 7e9c893575

View file

@ -38,7 +38,7 @@ steps:
- task: CmdLine@2 - task: CmdLine@2
displayName: Rename single-exe x64 displayName: Rename single-exe x64
inputs: inputs:
script: 'rename $(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.0\win-x64\publish\Greenshot.exe Greenshot-x64.exe' script: 'rename $(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.1\win-x64\publish\Greenshot.exe Greenshot-x64.exe'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
displayName: Publish single-exe x86 displayName: Publish single-exe x86
@ -52,12 +52,12 @@ steps:
- task: CmdLine@2 - task: CmdLine@2
displayName: Rename single-exe x86 displayName: Rename single-exe x86
inputs: inputs:
script: 'rename $(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.0\win-x86\publish\Greenshot.exe Greenshot-x86.exe' script: 'rename $(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.1\win-x86\publish\Greenshot.exe Greenshot-x86.exe'
- task: CopyFiles@2 - task: CopyFiles@2
displayName: 'Copy Files to: $(build.artifactstagingdirectory)' displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
inputs: inputs:
SourceFolder: '$(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.0' SourceFolder: '$(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.1'
Contents: | Contents: |
win-x64\publish\Greenshot-x64.exe win-x64\publish\Greenshot-x64.exe
win-x86\publish\Greenshot-x86.exe win-x86\publish\Greenshot-x86.exe