From 9ee6e83332f9e69dda3584267fb014a1d20ed01f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20D=C3=A9moulins?= Date: Sat, 6 Feb 2021 12:08:09 +0100 Subject: [PATCH 1/8] Display disk type --- ListSystemInfo/SystemInfo.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/ListSystemInfo/SystemInfo.ps1 b/ListSystemInfo/SystemInfo.ps1 index 96ae2b9..841850a 100644 --- a/ListSystemInfo/SystemInfo.ps1 +++ b/ListSystemInfo/SystemInfo.ps1 @@ -93,6 +93,7 @@ $result = @( Properties = @( "DeviceId" | New-Property -Name "Id" "Model" | New-Property -Name "Disk" + "Type" "MediaType" | New-Property -Name "Type" | ConvertTo-Enum ([MediaType]) "SpindleSpeed" | New-Property -Name "RPM" "BusType" | New-Property -Name "Bus" | ConvertTo-Enum ([BusType]) From 1e49b9c3701945a08551b3ee499c673b8f903681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20D=C3=A9moulins?= Date: Sat, 6 Feb 2021 12:13:07 +0100 Subject: [PATCH 2/8] Update SystemInfo.ps1 --- ListSystemInfo/SystemInfo.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ListSystemInfo/SystemInfo.ps1 b/ListSystemInfo/SystemInfo.ps1 index 841850a..b0afb9f 100644 --- a/ListSystemInfo/SystemInfo.ps1 +++ b/ListSystemInfo/SystemInfo.ps1 @@ -93,7 +93,7 @@ $result = @( Properties = @( "DeviceId" | New-Property -Name "Id" "Model" | New-Property -Name "Disk" - "Type" + "Type" | New-Property -Name "TT" "MediaType" | New-Property -Name "Type" | ConvertTo-Enum ([MediaType]) "SpindleSpeed" | New-Property -Name "RPM" "BusType" | New-Property -Name "Bus" | ConvertTo-Enum ([BusType]) From f4c21ab2f07843e7c8b41929127bd3eb8bdae2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20D=C3=A9moulins?= Date: Sat, 6 Feb 2021 12:18:06 +0100 Subject: [PATCH 3/8] Update SystemInfo.ps1 --- ListSystemInfo/SystemInfo.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ListSystemInfo/SystemInfo.ps1 b/ListSystemInfo/SystemInfo.ps1 index b0afb9f..a0625dc 100644 --- a/ListSystemInfo/SystemInfo.ps1 +++ b/ListSystemInfo/SystemInfo.ps1 @@ -93,7 +93,7 @@ $result = @( Properties = @( "DeviceId" | New-Property -Name "Id" "Model" | New-Property -Name "Disk" - "Type" | New-Property -Name "TT" + "MediaType" | New-Property -Name "TT" "MediaType" | New-Property -Name "Type" | ConvertTo-Enum ([MediaType]) "SpindleSpeed" | New-Property -Name "RPM" "BusType" | New-Property -Name "Bus" | ConvertTo-Enum ([BusType]) From 059c03b20c514aa1b3156dba3d6e6c5c6b2b5150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20D=C3=A9moulins?= Date: Sat, 6 Feb 2021 12:30:11 +0100 Subject: [PATCH 4/8] Update SystemInfo.ps1 --- ListSystemInfo/SystemInfo.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/ListSystemInfo/SystemInfo.ps1 b/ListSystemInfo/SystemInfo.ps1 index a0625dc..96ae2b9 100644 --- a/ListSystemInfo/SystemInfo.ps1 +++ b/ListSystemInfo/SystemInfo.ps1 @@ -93,7 +93,6 @@ $result = @( Properties = @( "DeviceId" | New-Property -Name "Id" "Model" | New-Property -Name "Disk" - "MediaType" | New-Property -Name "TT" "MediaType" | New-Property -Name "Type" | ConvertTo-Enum ([MediaType]) "SpindleSpeed" | New-Property -Name "RPM" "BusType" | New-Property -Name "Bus" | ConvertTo-Enum ([BusType]) From eba00c21b1166dde7fd7a3c319162f5f685338b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20D=C3=A9moulins?= Date: Sat, 6 Feb 2021 12:58:20 +0100 Subject: [PATCH 5/8] Update build.yml --- azure-pipelines/jobs/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines/jobs/build.yml b/azure-pipelines/jobs/build.yml index cf78b14..cc57f87 100644 --- a/azure-pipelines/jobs/build.yml +++ b/azure-pipelines/jobs/build.yml @@ -26,7 +26,7 @@ jobs: steps: - template: ../steps/use-tfx-cli.yml - - task: QueryAzureDevOpsExtensionVersion@2 + - task: QueryAzureDevOpsExtensionVersion@3 displayName: Query extension version inputs: connectTo: VsTeam @@ -48,7 +48,7 @@ jobs: - pwsh: ./build.ps1 -Build -Clear displayName: Build tasks - - task: PackageAzureDevOpsExtension@2 + - task: PackageAzureDevOpsExtension@3 displayName: Package extension name: vsix inputs: From fe1f8ef2c685a99539a969adfaffb348ee3949ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20D=C3=A9moulins?= Date: Sat, 6 Feb 2021 13:00:41 +0100 Subject: [PATCH 6/8] Update publish.yml --- azure-pipelines/jobs/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines/jobs/publish.yml b/azure-pipelines/jobs/publish.yml index ea6a679..b4f2b26 100644 --- a/azure-pipelines/jobs/publish.yml +++ b/azure-pipelines/jobs/publish.yml @@ -18,7 +18,7 @@ jobs: - template: ../steps/use-tfx-cli.yml - - task: PublishAzureDevOpsExtension@2 + - task: PublishAzureDevOpsExtension@3 displayName: Publish extension inputs: connectTo: VsTeam From 031d9918199da7c1489a3e09d567119a7017c94a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20D=C3=A9moulins?= Date: Sat, 6 Feb 2021 13:07:53 +0100 Subject: [PATCH 7/8] Update release.yml --- azure-pipelines/jobs/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines/jobs/release.yml b/azure-pipelines/jobs/release.yml index 73473f7..a89b5fc 100644 --- a/azure-pipelines/jobs/release.yml +++ b/azure-pipelines/jobs/release.yml @@ -19,11 +19,11 @@ jobs: artifact: VSIX path: $(build.stagingDirectory)/VSIX - - task: GitHubRelease@0 + - task: GitHubRelease@1 displayName: Release extension inputs: gitHubConnection: ${{ parameters.gitHubConnection }} - tagSource: manual + tagSource: userSpecifiedTag tag: v$(build.buildNumber) title: $(extension.name) v$(build.buildNumber) assets: $(build.stagingDirectory)/VSIX/* From 4c99bf98b31bf4056519339c79ae35d0c53e3733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20D=C3=A9moulins?= Date: Sat, 6 Feb 2021 13:26:06 +0100 Subject: [PATCH 8/8] Update use-tfx-cli.yml --- azure-pipelines/steps/use-tfx-cli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines/steps/use-tfx-cli.yml b/azure-pipelines/steps/use-tfx-cli.yml index 9138577..e4edfad 100644 --- a/azure-pipelines/steps/use-tfx-cli.yml +++ b/azure-pipelines/steps/use-tfx-cli.yml @@ -1,5 +1,5 @@ steps: - - task: TfxInstaller@2 + - task: TfxInstaller@3 displayName: Use Node CLI for Azure DevOps inputs: version: v0.7.x