Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .vsts-ci/releaseBuild.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: PSReadLine-ModuleBuild-$(Build.BuildId)
trigger:
branches:
include:
- master
trigger: none
pr: none

variables:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
Expand All @@ -20,7 +18,9 @@ stages:
- stage: Build
displayName: Build and Sign
pool:
name: Package ES CodeHub Lab E
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
jobs:
- job: build_windows
displayName: Build PSReadLine
Expand Down Expand Up @@ -127,10 +127,14 @@ stages:
displayName: Compliance
dependsOn: Build
pool:
name: Package ES CodeHub Lab E
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
jobs:
- job: Compliance_Job
displayName: PSReadLine Compliance
variables:
- group: APIScan
# APIScan can take a long time
timeoutInMinutes: 240

Expand Down Expand Up @@ -176,3 +180,4 @@ stages:
softwareFolder: '$(Pipeline.Workspace)\PSReadLine'
softwareName: 'PSReadLine'
softwareVersion: '$(ModuleVersion)'
connectionString: 'RunAs=App;AppId=$(APIScanClient);TenantId=$(APIScanTenant);AppKey=$(APIScanSecret)'
2 changes: 1 addition & 1 deletion MockPSConsole/MockPSConsole.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.PowerShell.SDK" version="7.2.0-preview.6" />
<PackageReference Include="Microsoft.PowerShell.SDK" version="7.2.0-preview.9" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion PSReadLine/PSReadLine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="System.Management.Automation" Version="7.2.0-preview.6" />
<PackageReference Include="System.Management.Automation" Version="7.2.0-preview.9" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Polyfill/Polyfill.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="System.Management.Automation" Version="7.2.0-preview.6" />
<PackageReference Include="System.Management.Automation" Version="7.2.0-preview.9" />
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
Expand Down
2 changes: 1 addition & 1 deletion test/PSReadLine.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.0-preview.6" />
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.0-preview.9" />
</ItemGroup>

<ItemGroup>
Expand Down