Renaming is hard...

This commit is contained in:
Robin Krom 2019-04-29 23:32:15 +02:00
commit 77832557d6

View file

@ -41,7 +41,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 $(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.0\win-x64\publish\Greenshot-x64.exe' script: 'rename $(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.0\win-x64\publish\Greenshot.exe Greenshot-x64.exe'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
displayName: Publish single-exe x86 displayName: Publish single-exe x86
@ -55,7 +55,7 @@ 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 $(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.0\win-x86\publish\Greenshot-x86.exe' script: 'rename $(Build.SourcesDirectory)\src\Greenshot\bin\Release\netcoreapp3.0\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)'