From 8036cf1f8add478ffb521388945a5c6a193c47f6 Mon Sep 17 00:00:00 2001 From: Robin Krom Date: Mon, 29 Apr 2019 23:20:01 +0200 Subject: [PATCH] Fixed path for renaming the file --- azure-pipelines.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a8f3780aa..217780ba5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,7 +15,7 @@ steps: - task: DotNetCoreInstaller@0 displayName: 'Install .NET Core SDK 3.0' inputs: - version: '3.0.100-preview6-011644' + version: '3.0.100-preview6-011657' - task: NuGetToolInstaller@0 displayName: 'Use NuGet 4.9.3' @@ -38,9 +38,10 @@ steps: arguments: '-f netcoreapp3.0 -c Release /p:PublishSingleFile=true /p:UseAppHost=true /p:RuntimeIdentifier=win-x64' zipAfterPublish: false -- task: CmdLine@2 +- task: CmdLine@ + displayName: Rename single-exe x64 inputs: - script: 'move win-x64\publish\Greenshot.exe win-x64\publish\Greenshot-x64.exe' + 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' - task: DotNetCoreCLI@2 displayName: Publish single-exe x86 @@ -52,8 +53,9 @@ steps: zipAfterPublish: false - task: CmdLine@2 + displayName: Rename single-exe x86 inputs: - script: 'move win-x86\publish\Greenshot.exe win-x86\publish\Greenshot-x86.exe' + 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' - task: CopyFiles@2 displayName: 'Copy Files to: $(build.artifactstagingdirectory)'