From cde01975fe883e0bb390b228e6bd714e873e43d1 Mon Sep 17 00:00:00 2001 From: Marco Klein Date: Fri, 13 Aug 2021 00:54:20 +0200 Subject: [PATCH 1/4] Update azure-pipelines.release-build.yml for Azure Pipelines --- azure-pipelines.release-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.release-build.yml b/azure-pipelines.release-build.yml index f607642..a385817 100644 --- a/azure-pipelines.release-build.yml +++ b/azure-pipelines.release-build.yml @@ -35,17 +35,17 @@ steps: GH_TOKEN=$(GH_TOKEN) yarn dist -m -w -l - task: CopyFiles@2 inputs: - SourceFolder: '$(agent.builddirectory)/' + SourceFolder: '$(agent.builddirectory)/dist/' Contents: '*.dmg' TargetFolder: '$(build.artifactstagingdirectory)' - task: CopyFiles@2 inputs: - SourceFolder: '$(agent.builddirectory)/' + SourceFolder: '$(agent.builddirectory)/dist/' Contents: '*.exe' TargetFolder: '$(build.artifactstagingdirectory)' - task: CopyFiles@2 inputs: - SourceFolder: '$(agent.builddirectory)/' + SourceFolder: '$(agent.builddirectory)/dist/' Contents: '*.snap' TargetFolder: '$(build.artifactstagingdirectory)' - task: GitHubRelease@1 From 6dabae5a7ad90b6f5583a553ea53e45fe587fffb Mon Sep 17 00:00:00 2001 From: Marco Klein Date: Fri, 13 Aug 2021 00:59:59 +0200 Subject: [PATCH 2/4] Update azure-pipelines.release-build.yml for Azure Pipelines --- azure-pipelines.release-build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.release-build.yml b/azure-pipelines.release-build.yml index a385817..adf3d15 100644 --- a/azure-pipelines.release-build.yml +++ b/azure-pipelines.release-build.yml @@ -33,21 +33,25 @@ steps: displayName: 'Install NPM Packages' - script: | GH_TOKEN=$(GH_TOKEN) yarn dist -m -w -l + displayName: Build Installation Packages for all platforms - task: CopyFiles@2 inputs: SourceFolder: '$(agent.builddirectory)/dist/' Contents: '*.dmg' TargetFolder: '$(build.artifactstagingdirectory)' + displayName: Copy Mac Setup files - task: CopyFiles@2 inputs: SourceFolder: '$(agent.builddirectory)/dist/' Contents: '*.exe' TargetFolder: '$(build.artifactstagingdirectory)' + displayName: Copy Windows Setup Files - task: CopyFiles@2 inputs: SourceFolder: '$(agent.builddirectory)/dist/' Contents: '*.snap' TargetFolder: '$(build.artifactstagingdirectory)' + displayName: Copy Linux Snap Package - task: GitHubRelease@1 inputs: gitHubConnection: 'github.com_Hobart2967' @@ -55,4 +59,5 @@ steps: action: 'edit' target: '$(Build.SourceVersion)' tag: '$(Build.SourceBranchName)' - addChangeLog: false \ No newline at end of file + addChangeLog: false + displayName: Update Github Release \ No newline at end of file From 5e13b98712d5282c28d14f85f1882afaf2ab7f4c Mon Sep 17 00:00:00 2001 From: Marco Klein Date: Fri, 13 Aug 2021 01:04:33 +0200 Subject: [PATCH 3/4] Update azure-pipelines.release-build.yml for Azure Pipelines --- azure-pipelines.release-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.release-build.yml b/azure-pipelines.release-build.yml index adf3d15..90d19e1 100644 --- a/azure-pipelines.release-build.yml +++ b/azure-pipelines.release-build.yml @@ -36,19 +36,19 @@ steps: displayName: Build Installation Packages for all platforms - task: CopyFiles@2 inputs: - SourceFolder: '$(agent.builddirectory)/dist/' + SourceFolder: '$(Build.SourcesDirectory)/dist/' Contents: '*.dmg' TargetFolder: '$(build.artifactstagingdirectory)' displayName: Copy Mac Setup files - task: CopyFiles@2 inputs: - SourceFolder: '$(agent.builddirectory)/dist/' + SourceFolder: '$(Build.SourcesDirectory)/dist/' Contents: '*.exe' TargetFolder: '$(build.artifactstagingdirectory)' displayName: Copy Windows Setup Files - task: CopyFiles@2 inputs: - SourceFolder: '$(agent.builddirectory)/dist/' + SourceFolder: '$(Build.SourcesDirectory)/dist/' Contents: '*.snap' TargetFolder: '$(build.artifactstagingdirectory)' displayName: Copy Linux Snap Package From f2d9235d8e25d082637cd567cfb3652e1c8784cb Mon Sep 17 00:00:00 2001 From: Marco Klein Date: Fri, 13 Aug 2021 08:58:30 +0200 Subject: [PATCH 4/4] Update azure-pipelines.release-build.yml for Azure Pipelines --- azure-pipelines.release-build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.release-build.yml b/azure-pipelines.release-build.yml index 90d19e1..147e6c6 100644 --- a/azure-pipelines.release-build.yml +++ b/azure-pipelines.release-build.yml @@ -34,6 +34,10 @@ steps: - script: | GH_TOKEN=$(GH_TOKEN) yarn dist -m -w -l displayName: Build Installation Packages for all platforms +- script: | + ls + echo "$BUILD_SOURCEDIRECTORY" + echo "$BUILD_ARTIFACTSTAGINGDIRECTORY" - task: CopyFiles@2 inputs: SourceFolder: '$(Build.SourcesDirectory)/dist/'