From 892c3efe41a82d241304a8a5f62d11bc491664e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Andr=C3=A9e=20=5BMSFT=5D?= Date: Tue, 27 Sep 2022 21:28:43 +0200 Subject: [PATCH 1/4] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cef80ad3..4c304675 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,6 +24,10 @@ stages: pool: vmImage: 'windows-2019' steps: + + - pwsh: | + dir -Path env: | Out-String | Write-Host + displayName: 'Display Environment Variables' - pwsh: | dotnet tool install --global GitVersion.Tool From 4ade02c0840ba9fb11a1f92032467cb79bf50bb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Andr=C3=A9e=20=5BMSFT=5D?= Date: Tue, 27 Sep 2022 21:28:43 +0200 Subject: [PATCH 2/4] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cef80ad3..4c304675 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,6 +24,10 @@ stages: pool: vmImage: 'windows-2019' steps: + + - pwsh: | + dir -Path env: | Out-String | Write-Host + displayName: 'Display Environment Variables' - pwsh: | dotnet tool install --global GitVersion.Tool From b0b205eeb56d921efe8b2e61ca5aafc146f17cb7 Mon Sep 17 00:00:00 2001 From: Raimund Andree Date: Wed, 9 Nov 2022 11:02:23 +0100 Subject: [PATCH 3/4] Fix according to Sampler 0.116.0 --- Resolve-Dependency.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Resolve-Dependency.ps1 b/Resolve-Dependency.ps1 index 3848462c..935cbbb8 100644 --- a/Resolve-Dependency.ps1 +++ b/Resolve-Dependency.ps1 @@ -202,6 +202,11 @@ if (-not $powerShellGetModule -and -not $nuGetProvider) { $providerBootstrapParameters.Add('Scope', $Scope) } + + 'AllowPrerelease' + { + $providerBootstrapParameters.Add('AllowPrerelease', $AllowPrerelease) + } } if ($AllowPrerelease) @@ -307,6 +312,10 @@ try { $installPowerShellGetParameters.Add('Credential', $GalleryCredential) } + 'AllowPrerelease' + { + $installPowerShellGetParameters.Add('AllowPrerelease', $AllowPrerelease) + } } Write-Progress -Activity 'Bootstrap:' -PercentComplete 60 -CurrentOperation 'Installing newer version of PowerShellGet' From ad868b30ebef8dc514ee35cb374f0f3ff79ba7a7 Mon Sep 17 00:00:00 2001 From: Raimund Andree Date: Sun, 4 Dec 2022 16:55:04 +0100 Subject: [PATCH 4/4] Changed autocrlf scope as suggested in #138 --- .gitattributes | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 4460ddaf..c8e094c0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,8 @@ # Needed for publishing of examples, build worker defaults to core.autocrlf=input. -* text eol=autocrlf +/source/** text eol=autocrlf +/Exercises/** text eol=autocrlf +/Lab/** text eol=autocrlf +/Test/** text eol=autocrlf *.mof text eol=crlf *.sh text eol=lf