mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Merge `release-v6.2.0-preview.4'
# Conflicts: # test/Test.Common.props # tools/packaging/packaging.psm1
This commit is contained in:
@@ -49,6 +49,7 @@ arm64
|
||||
asp.net
|
||||
assemblyloadcontext
|
||||
authenticodesignature
|
||||
azdevops
|
||||
azurerm.netcore.preview
|
||||
azurerm.profile.netcore.preview
|
||||
azurerm.resources.netcore.preview
|
||||
@@ -152,6 +153,7 @@ dchristian3188
|
||||
ddwr
|
||||
debughandler
|
||||
dee-see
|
||||
deps
|
||||
deserialization
|
||||
deserialize
|
||||
dest
|
||||
@@ -276,6 +278,7 @@ gitcommitid
|
||||
github
|
||||
githug
|
||||
gitter
|
||||
glachancecmaisonneuve
|
||||
globbing
|
||||
GoogleTest
|
||||
gzip
|
||||
@@ -337,6 +340,7 @@ json
|
||||
jsonconfigfileaccessor
|
||||
judgement
|
||||
jumplist
|
||||
jwmoss
|
||||
kanjibates
|
||||
kasper3
|
||||
katacoda
|
||||
@@ -360,6 +364,7 @@ lee303
|
||||
libpsl
|
||||
libpsl-native
|
||||
libunwind8
|
||||
linux
|
||||
locationglobber
|
||||
loopback
|
||||
lossless
|
||||
@@ -371,6 +376,7 @@ macos
|
||||
maertendmsft
|
||||
mahawar
|
||||
markekraus
|
||||
marktiedemann
|
||||
mcbobke
|
||||
md
|
||||
meir017
|
||||
@@ -447,6 +453,7 @@ non-r2
|
||||
noresume
|
||||
notcontains
|
||||
nuget
|
||||
nugetfeed
|
||||
nuget.exe
|
||||
numberbytes
|
||||
nupkg
|
||||
@@ -480,6 +487,7 @@ plaintext
|
||||
pluggable
|
||||
pluralsight
|
||||
poshcode
|
||||
pougetat
|
||||
powerbi
|
||||
powercode
|
||||
powershell
|
||||
@@ -511,10 +519,12 @@ preview.4
|
||||
preview1-24530-04
|
||||
productversion
|
||||
program.cs
|
||||
prototyyppi
|
||||
providername
|
||||
proxycommand
|
||||
ps1
|
||||
ps1xml
|
||||
pscore
|
||||
pscredential
|
||||
psd1
|
||||
psdrive
|
||||
@@ -604,6 +614,7 @@ savehelp
|
||||
sazonov
|
||||
schvartzman
|
||||
schwartzmeyer
|
||||
scriptblock
|
||||
securestring
|
||||
seemethere
|
||||
select-xml
|
||||
@@ -656,6 +667,7 @@ sudo
|
||||
superproject
|
||||
swarfegagit
|
||||
sxs
|
||||
sydneyhsmith
|
||||
symlink
|
||||
symlinks
|
||||
syscall
|
||||
@@ -698,6 +710,8 @@ typecataloggen
|
||||
typeconversion
|
||||
typegen
|
||||
typematch
|
||||
ubuntu
|
||||
unicode
|
||||
unregister-event
|
||||
unregister-packagesource
|
||||
unregister-psrepository
|
||||
@@ -708,6 +722,7 @@ update-modulemanifest
|
||||
update-scriptfileinfo
|
||||
update-typedata
|
||||
uri
|
||||
urls
|
||||
userdata
|
||||
uservoice
|
||||
utf8
|
||||
@@ -772,7 +787,9 @@ www.github.com
|
||||
x64
|
||||
x86
|
||||
xpath
|
||||
xtqqczze
|
||||
xunit
|
||||
yaml
|
||||
youtube
|
||||
zackjknight
|
||||
vexx32
|
||||
|
||||
+172
-1
@@ -1,5 +1,176 @@
|
||||
# Changelog
|
||||
|
||||
## v6.2.0-preview.4 - 2019-01-28
|
||||
|
||||
### Breaking Changes
|
||||
- Add `-Stable` to `Sort-Object` and related tests (#7862) (Thanks @KirkMunro!)
|
||||
- Improve `Start-Sleep` cmdlet to accept fractional seconds (#8537) (Thanks @Prototyyppi!)
|
||||
- Change hashtable to use `OrdinalIgnoreCase` to be case-insensitive in all Cultures (#8566)
|
||||
- Fix `LiteralPath` in `Import-Csv` to bind to `Get-ChildItem` output (#8277) (Thanks @iSazonov!)
|
||||
|
||||
### Engine Updates and Fixes
|
||||
- Allow user-specified underlying type for enums (#8329) (Thanks @IISResetMe!)
|
||||
- Handle case where AppLocker test script fails to delete (#8627)
|
||||
- Update `CommandNotFound` fuzzy suggestion to only return unique results (#8640)
|
||||
- Add support to show suggestions on `CommandNotFound` exception (#8458)
|
||||
- Make `S.M.A.PowerShell.GetSteppablePipeline` method public (#8055) (Thanks @KirkMunro!)
|
||||
- Add `S.M.A.PowerShell.Create` method overload with Runspace argument (#8057) (Thanks @KirkMunro!)
|
||||
- Fix mistake on deserialization (#8502)
|
||||
- Fix formatting of header of table when center aligned (#8497)
|
||||
- Add `-RepeatHeader` to `Format-Table` to enable repeating header for each screen full (#8481)
|
||||
- Fix `Debug-Runspace` for Unix platforms and properly enable Windows identity impersonation code (#8451)
|
||||
- Reset output attributes if column had `ESC` char when using `Format-Table`; Replace `...` with unicode ellipsis (#8326)
|
||||
|
||||
### Experimental Features
|
||||
- Add the experimental feature `PSUseAbbreviationExpansion` to support tab completion on abbreviated command names (#8109)
|
||||
|
||||
### General Cmdlet Updates and Fixes
|
||||
- Fix code page parsing issue in `Invoke-RestMethod` (#8694) (Thanks @markekraus!)
|
||||
- Fix `Expect 100-continue` issue with Web Cmdlets (#8679) (Thanks @markekraus!)
|
||||
- Allow 'name' as an alias key for 'label' in `ConvertTo-Html`, allow the 'width' entry to be an integer (#8426) (Thanks @mklement0!)
|
||||
- Resolve `:PAGER` if its path contains spaces (#8571) (Thanks @pougetat!)
|
||||
- Add support enum and char types in `Format-Hex` cmdlet (#8191) (Thanks @iSazonov!)
|
||||
- Change `Get-Help` cmdlet `-Parameter` parameter so it accepts string arrays (#8454) (Thanks @sethvs!)
|
||||
- Fix `FixupFileName` to not load resolved assembly during module discovery (#8634)
|
||||
- Change `Clear-Host` back to using `$RAWUI` and `clear` to work over remoting (#8609)
|
||||
- Fix `LiteralPath` in `Import-Csv` to bind to `Get-ChildItem` output (#8277) (Thanks @iSazonov!)
|
||||
- Make scriptblock based calculated properties work again in `ConvertTo-Html` (#8427) (Thanks @mklement0!)
|
||||
- Fix `Join-String` cmdlet `FormatString` parameter logic (#8449) (Thanks @sethvs!)
|
||||
- Allow Windows users in developer mode to create symlinks without elevation (#8534)
|
||||
- `Help` function should only pass content to pager if content was found (#8528)
|
||||
- Change `Clear-Host` to simply called `[console]::clear` and remove `clear` alias from Unix (#8603)
|
||||
- `help` function shouldn't use pager for `AliasHelpInfo` (#8552)
|
||||
- Fix XML nesting bug in `CustomSerializer.WriteMemberInfoCollection()` (#8476) (Thanks @IISResetMe!)
|
||||
- Add `-UseMinimalHeader` to `Start-Transcript` to minimize transcript header (#8402) (Thanks @lukexjeremy!)
|
||||
|
||||
### Code Cleanup
|
||||
- Remove the no longer used `RunspaceConfigurationEntry` types (#8424)
|
||||
- Remove unneeded catch/throw from `mkdir` and `oss` functions (#8425)
|
||||
- Remove comments after closing brackets (#8344) (Thanks @Meir017!)
|
||||
- Cleanup `Format-Hex` (#8683) (Thanks @vexx32!)
|
||||
- Delete `appveyor.yml` (#8639) (Thanks @RDIL!)
|
||||
- Revise use of `Start-Sleep` cmdlet (#8633) (Thanks @xtqqczze!)
|
||||
- Style: Change first char to upper in summary comments (#8597) (Thanks @iSazonov!)
|
||||
- Style: Use the type aliases `char` and `bool` instead of `Char` and `Boolean` (#8572) (Thanks @iSazonov!)
|
||||
- Style: Use the type alias `string` instead of `String` in places that are appropriate (#8573) (Thanks @iSazonov!)
|
||||
- Correctly capitalize the `ForEach` operator in `*.ps1` (#8583) (Thanks @xtqqczze!)
|
||||
- Remove unnecessary trim of passed-in command line in interactive debugging (#8594)
|
||||
- Style: Add a space after "//" in comments and remove unneeded comments after "}" (#8576) (Thanks @iSazonov!)
|
||||
- Style: Add the ending period to the XML document texts (#8577) (Thanks @iSazonov!)
|
||||
- Avoid use of `mkdir` alias in `*.ps1` and `*.psm1` (#8582) (Thanks @xtqqczze!)
|
||||
- Regularize redirection operator spacing in `*.ps1` and `*.psm1` (#8581) (Thanks @xtqqczze!)
|
||||
- Style: Change 'String.' to 'string.' (#8568) (Thanks @iSazonov!)
|
||||
- Style: Replace `String.IsNullOrEmpty` with `string.IsNullOrEmpty` (#8557) (Thanks @iSazonov!)
|
||||
- Fix typo in AMSI test (#8561) (Thanks @iSazonov!)
|
||||
- Style: Convert to upper first char in `<param>` and `<exception>` doc tags (#8556) (Thanks @iSazonov!)
|
||||
- Style: Add period before `</param>` and `</exception>` doc tags (#8553) (Thanks @iSazonov!)
|
||||
- Remove use of cmdlet aliases from `.\test\powershell` (#8546) (Thanks @xtqqczze!)
|
||||
- Style: Remove extra spaces after `<para>` and before `</para>` docs tags (#8547) (Thanks @iSazonov!)
|
||||
- Style: Remove preceding spaces from C# `preprocessor-type` keywords (#8540) (Thanks @xtqqczze!)
|
||||
- Style: remove `<remarks> </remarks>` (#8538) (Thanks @iSazonov!)
|
||||
- Style: Add period before returns doc tag (#8535) (Thanks @iSazonov!)
|
||||
- Style: Change `Object[]` to `object[]` (#8526) (Thanks @iSazonov!)
|
||||
- Style: Change `Object` to `object` (#8522) (Thanks @iSazonov!)
|
||||
- Style: Change `UInt64?` to `ulong?` (#8527) (Thanks @iSazonov!)
|
||||
- Style: Change `Byte{}` to `byte[]` (#8525) (Thanks @iSazonov!)
|
||||
- Code cleanup: Add space after closing brace where needed (#8530)
|
||||
- Style: Change `System.Boolean` to `bool` (#8521) (Thanks @iSazonov!)
|
||||
- Change `String` to `string` for simple references (#8519)
|
||||
- Change `Int32` to `int` for simple references in variable declaration (#8518)
|
||||
- Style: Member access symbols should be followed with member name (#8517)
|
||||
- Style: Remove extra space before colon in named parameters (#8504)
|
||||
- Style: Use the shorthand of the `nullable` type (#8501)
|
||||
- Remove empty lines; correct space on closing square brackets, negative signs, and generic brackets (#8508)
|
||||
- Remove space after new keyword in implicitly typed array allocation (#8505)
|
||||
- The static keyword should be right after access modifier (#8506)
|
||||
- Remove comments after closing bracket (#8503)
|
||||
- Remove space character after `'!'` (#8507)
|
||||
- Style: Remove extra space before colon in named parameters (#8504)
|
||||
|
||||
### Tools
|
||||
- Recommend Azure DevOps extension inside VS-Code for better `YAML` editing. (#8403) (Thanks @bergmeister!)
|
||||
- `-AddToPath` re-implementation in `install-powershell.ps1` (#8081) (Thanks @glachancecmaisonneuve!)
|
||||
- Change the feed `URL` to feed name due to changes in `AzDevOps` (#8664)
|
||||
- Batch merge builds together while a merge build is running (#8668)
|
||||
- Fix grammar in stale bot message (#8660) (Thanks @RDIL!)
|
||||
- Add macOS files to `.gitignore` (#8456) (Thanks @RDIL!)
|
||||
- Name the spelling yaml something more appropriate (#8601) (Thanks @RDIL!)
|
||||
- Add script to create `icns` files. (#7456) (Thanks @thezim!)
|
||||
- Pass `nugetkey` as parameter (#8461)
|
||||
- Add `gitkracken` files to `gitignore` (#8434) (Thanks @RDIL!)
|
||||
- Create release process issue template (#8417)
|
||||
- Support for `linuxmint` in `installpsh-debian.sh` (#8440) (Thanks @DarwinJS!)
|
||||
- Enable `install-powershell.ps1` to use `MSI` (#8418)
|
||||
|
||||
### Tests
|
||||
- Remove broken `HelpUri` from `CimTest` (#8688) (Thanks @xtqqczze!)
|
||||
- Remove appveyor environment checks (#8669) (Thanks @RDIL!)
|
||||
- Adding tests for `PSDiagnostics Module` (#8431) (Thanks @kvprasoon!)
|
||||
- Increase diagnose-ability of Link Checker failures (#8667)
|
||||
- Fix broken urls (#8653)
|
||||
- Update fuzzy test to fix daily build (#8629)
|
||||
- Create link check task (#8471) (Thanks @RDIL!)
|
||||
- Add Tests for `ConfirmImpact` Ratings (#8214) (Thanks @vexx32!)
|
||||
- Fix style issues in xUnit tests (#8465) (Thanks @iSazonov!)
|
||||
- Move `xUnit` tests in new folder (#8356) (Thanks @iSazonov!)
|
||||
- Fix environment variable test and add missing null check in `CommandHelpProvider` (#8408)
|
||||
- Remove `dotnet` dependency to start WebListener (#8390)
|
||||
|
||||
### Build and Packaging Improvements
|
||||
- Update Third Party Notices (#8415)
|
||||
- Adding yaml for Windows Release builds (#8374)
|
||||
- Bump `NJsonSchema` from `9.13.1` to `9.13.2` (#8422)
|
||||
- Do not ship fullclr binaries of `PackageManagement` (#8700) (Thanks @bergmeister!)
|
||||
- Fix the build for `fxdependent` build for `dotnet sdk` (#8670)
|
||||
- Add Windows build to universal release build YAML (#8695)
|
||||
- Remove `Debian 8` references as it is EOL (#8678)
|
||||
- Build(deps): Bump `NJsonSchema` from `9.13.14` to `9.13.15` (#8671)
|
||||
- Build package build using ubuntu 18.04 image (#8666)
|
||||
- Fix a typo in `packaging.psm1` (#8647) (Thanks @sethvs!)
|
||||
- Add function to create a framework dependent package `dotnet-sdk` containers (#8644)
|
||||
- Build(deps): Bump `NJsonSchema` from `9.13.13` to `9.13.14` (#8648)
|
||||
- Build(deps): Bump `PowerShellGet` from `2.0.3` to `2.0.4` (#8649)
|
||||
- Fix installing `fpm` and `ronn` in macOS CI by avoid installing docs for them (#8656)
|
||||
- Build(deps): Bump `Markdig.Signed` from `0.15.6` to `0.15.7` (#8637)
|
||||
- Build(deps): Bump `System.Security.Cryptography.Pkcs` from `4.5.1` to `4.5.2` (#8614)
|
||||
- Build(deps): Bump `System.Net.Http.WinHttpHandler` from `4.5.1` to `4.5.2` (#8615)
|
||||
- Build(deps): Bump `NJsonSchema` from `9.13.11` to `9.13.13` (#8616)
|
||||
- Build(deps): Bump `System.Text.Encoding.CodePages` from `4.5.0` to `4.5.1` (#8613)
|
||||
- Enable install of Preview MSI release side-by-side with Stable release (#8513)
|
||||
- Get macOS to publish daily build to nugetfeed (#8464)
|
||||
- Build(deps): Bump `Markdig.Signed` from `0.15.5` to `0.15.6` (#8558)
|
||||
- Build(deps): Bump `NJsonSchema` from `9.13.10` to `9.13.11` (#8569)
|
||||
- Remove duplicate `Open Here` context menu item upgrading to newer Preview release (#8496)
|
||||
- Bump `NJsonSchema` from `9.13.9` to `9.13.10` (#8511)
|
||||
- Bump `NJsonSchema` from `9.13.7` to `9.13.9` (#8498)
|
||||
- Bump `NJsonSchema` from `9.13.4` to `9.13.7` (#8493)
|
||||
- Bump `NJsonSchema` from `9.13.3` to `9.13.4` (#8462)
|
||||
- Fix daily NuGet publishing (#8460)
|
||||
- Bump `NJsonSchema` from `9.13.2` to `9.13.3` (#8457)
|
||||
- Bump `Markdig.Signed` from `0.15.4` to `0.15.5` (#8444)
|
||||
|
||||
### Documentation and Help Content
|
||||
- Remove unused `AppVeyor` links from `README.md` (#8685) (Thanks @RDIL!)
|
||||
- Update `README.md` (#8684)
|
||||
- Update Package Management license to MIT (#8676) (Thanks @RDIL!)
|
||||
- Create Support File (#8618) (Thanks @RDIL!)
|
||||
- Update git clone URL (#8673) (Thanks @RDIL!)
|
||||
- docs(contributing): add link check information (#8659) (Thanks @RDIL!)
|
||||
- Update License and Third Party Notice (#8646)
|
||||
- Update README, `metadata.json` and changelog for release `6.1.2` (#8658)
|
||||
- Fix typo in `README.md` (#8642) (Thanks @MarkTiedemann!)
|
||||
- Fix some typos in the README (#8623) (Thanks @RDIL!)
|
||||
- Remove `en-us` from `docs.microsoft.com` URL (#8628) (Thanks @xtqqczze!)
|
||||
- Update examples for hosting PSCore and remove old outdated examples (#8472) (Thanks @bergmeister!)
|
||||
- Update the pull request template (#8624) (Thanks @RDIL!)
|
||||
- Contributing guidelines: Remove references to Travis CI and AppVeyor (#8617) (Thanks @RDIL!)
|
||||
- Update code coverage analysis document (#8543) (Thanks @xtqqczze!)
|
||||
- Remove `en-us` from our doc links (#8602)
|
||||
- Document `First-time-issue` and `Hackathon`/`Hacktoberfest` labels (#8575)
|
||||
- Updated linux build link (#8579) (Thanks @jwmoss!)
|
||||
- Update contributing guidelines doc to run spellchecking in English (#8473) (Thanks @RDIL!)
|
||||
- Updating links to point to new VS Code docs (#8468)
|
||||
|
||||
## v6.2.0-preview.3 - 2018-12-10
|
||||
|
||||
### Breaking Changes
|
||||
@@ -1639,7 +1810,7 @@ To read more about this, check out [this blog post](https://blogs.msdn.microsoft
|
||||
* Add support for `Invoke-Item -Path <folder>`. (#4262)
|
||||
* Fix `ConvertTo-Html` output when using a single column header. (#4276)
|
||||
* Fix output of `Length` for `FileInfo` when using `Format-List`. (#4437)
|
||||
* Fix an issue in implicit remoting where restricted sessions couldn't use `Get-FormatData –PowerShellVersion`. (#4222)
|
||||
* Fix an issue in implicit remoting where restricted sessions couldn't use `Get-FormatData �PowerShellVersion`. (#4222)
|
||||
* Fix an issue where `Register-PSSessionConfiguration` fails if `SessionConfig` folder doesn't exist. (#4271)
|
||||
|
||||
### Installer updates
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
<Copyright>(c) Microsoft Corporation. All rights reserved.</Copyright>
|
||||
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<RuntimeFrameworkVersion>2.1.5</RuntimeFrameworkVersion>
|
||||
<RuntimeFrameworkVersion>2.1.7</RuntimeFrameworkVersion>
|
||||
<LangVersion>Latest</LangVersion>
|
||||
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
|
||||
+8
-8
@@ -1988,12 +1988,6 @@
|
||||
<File Id="fil3779A5AC06BDD2A3AB680DBA83FEAFD1" KeyPath="yes" Source="$(env.ProductSourcePath)\zh-Hant\Microsoft.CodeAnalysis.resources.dll" />
|
||||
</Component>
|
||||
</Directory>
|
||||
<Component Id="cmp7641086BD8244AFAAA244FAB40CE60BC" Guid="{2dc3fc9a-086e-4bae-85a4-03322c6a682f}">
|
||||
<File Id="fil65BC2FC2686842A4B38CCBF9F54B2DD3" KeyPath="yes" Source="$(env.ProductSourcePath)\sos_$(var.FileArchitecture)_$(var.FileArchitecture)_4.6.26919.02.dll" />
|
||||
</Component>
|
||||
<Component Id="cmp2B1B284B631547EEB86D29E84D2E9611" Guid="{1d6e6de9-0af0-4669-9cf8-d731d43f3e8a}">
|
||||
<File Id="fil1B414FC15B084BD9B4F5B1ACC5EC5084" KeyPath="yes" Source="$(env.ProductSourcePath)\mscordaccore_$(var.FileArchitecture)_$(var.FileArchitecture)_4.6.26919.02.dll" />
|
||||
</Component>
|
||||
<Directory Name="Schemas" Id="dir1DB5B24CC3494785974A51F28F128069">
|
||||
<Directory Name="PSMaml" Id="dirAC38B2C7629B42DC836E01F976A10EC9">
|
||||
<Component Id="cmp8A3254D57ABF4F828B08648187233EE4" Guid="{a3884164-5b6c-4854-9fd7-81a0721f7cab}">
|
||||
@@ -2157,6 +2151,12 @@
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
<Component Id="cmp4E7DFAA0FFC64A2086B5E85167A999CA" Guid="{81b42f7d-6762-40c2-9d60-6556237257bb}">
|
||||
<File Id="fil3656BAD514F342A1851A7B407BF26FF2" KeyPath="yes" Source="$(env.ProductSourcePath)\mscordaccore_$(var.FileArchitecture)_$(var.FileArchitecture)_4.6.27129.04.dll" />
|
||||
</Component>
|
||||
<Component Id="cmp31ACA290CAB14FC7BBE32FA6A742DC1F" Guid="{cd6a9423-1a98-4770-a760-6685c93df590}">
|
||||
<File Id="filE94DF8CA4F8C4B948FF884E2114A3EF9" KeyPath="yes" Source="$(env.ProductSourcePath)\sos_$(var.FileArchitecture)_$(var.FileArchitecture)_4.6.27129.04.dll" />
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
</Fragment>
|
||||
<Fragment>
|
||||
@@ -2794,8 +2794,6 @@
|
||||
<ComponentRef Id="cmpC0582B8F392548248FA3DE3080069F68" />
|
||||
<ComponentRef Id="cmp3D4940617EE5426384A6BF086E79CC63" />
|
||||
<ComponentRef Id="cmpF13D9769FBE945B09326776DC9877740" />
|
||||
<ComponentRef Id="cmp7641086BD8244AFAAA244FAB40CE60BC" />
|
||||
<ComponentRef Id="cmp2B1B284B631547EEB86D29E84D2E9611" />
|
||||
<ComponentRef Id="cmpD495CAB0DC4146199E0475F16EFCBE66" />
|
||||
<ComponentRef Id="cmp8A3254D57ABF4F828B08648187233EE4" />
|
||||
<ComponentRef Id="cmpC29B22A77B6341C88E4D6CD2876F3BCF" />
|
||||
@@ -2850,6 +2848,8 @@
|
||||
<ComponentRef Id="cmpED253ABCC1354C58A65CD4D41F7ABB3A" />
|
||||
<ComponentRef Id="cmp074868368CB24A33962BC4DB7B809C4F" />
|
||||
<ComponentRef Id="cmpFF8643F8CC97462CAC20815F6071203B" />
|
||||
<ComponentRef Id="cmp4E7DFAA0FFC64A2086B5E85167A999CA" />
|
||||
<ComponentRef Id="cmp31ACA290CAB14FC7BBE32FA6A742DC1F" />
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
|
||||
+4
-4
@@ -553,6 +553,9 @@ function Restore-PSModuleToBuild
|
||||
Write-Log "Restore PowerShell modules to $publishPath"
|
||||
$modulesDir = Join-Path -Path $publishPath -ChildPath "Modules"
|
||||
Copy-PSGalleryModules -Destination $modulesDir -CsProjPath "$PSScriptRoot\src\Modules\PSGalleryModules.csproj"
|
||||
|
||||
# Remove .nupkg.metadata files
|
||||
Get-ChildItem $PublishPath -Filter '.nupkg.metadata' -Recurse | ForEach-Object { Remove-Item $_.FullName -ErrorAction SilentlyContinue -Force }
|
||||
}
|
||||
|
||||
function Restore-PSPester
|
||||
@@ -1200,10 +1203,7 @@ function Publish-TestResults
|
||||
$resolvedPath = (Resolve-Path -Path $Path).ProviderPath
|
||||
Write-Host "##vso[results.publish type=$Type;mergeResults=true;runTitle=$Title;publishRunAttachments=true;resultFiles=$resolvedPath;]"
|
||||
|
||||
if($env:BUILD_REASON -ne 'PullRequest')
|
||||
{
|
||||
Write-Host "##vso[artifact.upload containerfolder=testResults;artifactname=testResults]$resolvedPath"
|
||||
}
|
||||
Write-Host "##vso[artifact.upload containerfolder=testResults;artifactname=testResults]$resolvedPath"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"sdk": {
|
||||
"version": "2.1.403"
|
||||
"version": "2.1.503"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Copyright>(c) Microsoft Corporation. All rights reserved.</Copyright>
|
||||
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<RuntimeFrameworkVersion>2.1.5</RuntimeFrameworkVersion>
|
||||
<RuntimeFrameworkVersion>2.1.7</RuntimeFrameworkVersion>
|
||||
<LangVersion>Latest</LangVersion>
|
||||
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<PackageReference Include="xunit" Version="2.4.0" />
|
||||
<PackageReference Include="XunitXml.TestLogger" Version="2.0.0" />
|
||||
<!-- The version of Microsoft.PowerShell.SDK should be the version we are releasing, so the tests use the correct SDK before publishing to NuGet.org -->
|
||||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.2.0-preview.3" />
|
||||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.2.0-preview.4" />
|
||||
<PackageReference Include="Xunit.SkippableFact" Version="1.3.6" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -233,11 +233,8 @@ function Send-VstsLogFile {
|
||||
Copy-Item -Path $Path -Destination $logFile
|
||||
}
|
||||
|
||||
if($env:BUILD_REASON -ne 'PullRequest')
|
||||
{
|
||||
Write-Host "##vso[artifact.upload containerfolder=$name;artifactname=$name]$logFile"
|
||||
Write-Verbose "Log file captured as $name" -Verbose
|
||||
}
|
||||
Write-Host "##vso[artifact.upload containerfolder=$name;artifactname=$name]$logFile"
|
||||
Write-Verbose "Log file captured as $name" -Verbose
|
||||
}
|
||||
|
||||
# Tests if the Linux or macOS user is root
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.5" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.7" />
|
||||
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.1" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"StableReleaseTag": "v6.1.2",
|
||||
"PreviewReleaseTag": "v6.2.0-preview.3",
|
||||
"PreviewReleaseTag": "v6.2.0-preview.4",
|
||||
"ServicingReleaseTag": "v6.0.5",
|
||||
"ReleaseTag": "v6.1.2",
|
||||
"NextReleaseTag": "v6.2.0-preview.3"
|
||||
"NextReleaseTag": "v6.2.0-preview.4"
|
||||
}
|
||||
|
||||
@@ -2899,7 +2899,7 @@ function Test-FileWxs
|
||||
Write-Warning -Message "Pushing MSI File fragment failed."
|
||||
}
|
||||
}
|
||||
elseif ($env:TF_BUILD -and $env:BUILD_REASON -ne 'PullRequest')
|
||||
elseif ($env:TF_BUILD)
|
||||
{
|
||||
Write-Host "##vso[artifact.upload containerfolder=wix;artifactname=wix]$newXmlFileName"
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Docker image file that describes an Centos7 image with PowerShell installed from Microsoft YUM Repo
|
||||
|
||||
FROM mcr.microsoft.com/powershell:6.1.0-alpine-3.8
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
|
||||
FROM mcr.microsoft.com/powershell:alpine-3.8
|
||||
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
|
||||
|
||||
# Install dependencies and clean up
|
||||
RUN apk update \
|
||||
|
||||
Reference in New Issue
Block a user