Aditya Patwardhan
310ffe0b95
Update README
and metadata
files for next release ( #12717 )
2020-05-19 11:22:28 -07:00
Aditya Patwardhan
0695dde098
Disable uploading Symbols package ( #12687 )
2020-05-15 12:52:39 -07:00
Aditya Patwardhan
8bd96e03a9
Update README.md
and metadata.json
for next release ( #12668 )
2020-05-14 16:06:23 -07:00
Dongbo Wang
935f84ee1d
Update build to use the new .NET SDK 5.0.100-preview.4.20258.7
( #12637 )
2020-05-13 08:17:37 -07:00
xtqqczze
f4382202ae
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files ( #12584 )
2020-05-07 17:00:30 +05:00
Travis Plunk
ab65ac918c
Update the build to sign any unsigned files as 3rd party Dlls ( #12581 )
2020-05-05 12:35:03 -07:00
Aditya Patwardhan
633e52f345
Update .NET SDK to 5.0.100-preview.4.20229.10
( #12538 )
2020-05-04 18:17:52 -07:00
Aditya Patwardhan
a543b304bc
Add the .NET SDK installation path to the current process path ( #12525 )
2020-04-30 11:41:33 -07:00
Aditya Patwardhan
20a1e1cc3d
Update dotnet metadata for next channel for automated updates ( #12502 )
2020-04-29 14:42:00 -07:00
Aditya Patwardhan
cc0d20aa08
Bump .NET to 5.0.0-preview.4 ( #12507 )
2020-04-28 14:18:16 -07:00
Aditya Patwardhan
aa859c024c
Fix quotes to allow variable expansion ( #12512 )
2020-04-28 10:30:26 -07:00
Ilya
7c1cc868b2
Use new TargetFramwork
as net5.0
in packaging scripts ( #12503 )
2020-04-27 16:28:17 -07:00
Ilya
1a7692fd1a
Use new value for TargetFramework
as net5.0
instead of netcoreapp5.0
( #12486 )
2020-04-27 08:40:09 -07:00
Aditya Patwardhan
38cff0b07d
Update README.md
and metadata.json
for upcoming release ( #12441 )
2020-04-23 11:47:14 -07:00
Travis Plunk
947bddfe04
Add summary to compressed sections ( #12429 )
2020-04-22 10:49:31 -07:00
Aditya Patwardhan
b408594d55
Update .NET dependency update script to include test csproj
files ( #12372 )
2020-04-21 09:44:15 -07:00
Aditya Patwardhan
4989167fbf
Add the nuget.config
from root to the temporary build folder ( #12394 )
2020-04-20 13:57:39 -07:00
Aditya Patwardhan
6d44fa9977
Bump to .NET 5 Preview 3 pre-release ( #12353 )
2020-04-17 14:22:23 -07:00
Rafael Kitover
b7c66ab3ef
Linux: Initial support for Gentoo installations. ( #11429 )
2020-04-15 12:42:10 -07:00
Aditya Patwardhan
60f28bcd3f
Scripts to update to .NET prerelease version ( #12284 )
2020-04-15 11:40:56 -07:00
Christoph Bergmeister [MVP]
a29cffd49d
Pin major Pester version to 4 to prevent breaking changes caused by upcoming release of v5 ( #12262 )
2020-04-14 11:21:19 +05:00
Christoph Bergmeister [MVP]
622eb4cf02
Upgrade to .NET 5 Preview 2 ( #12250 )
2020-04-07 17:39:51 -07:00
Dongbo Wang
eb3e4a8781
Fix the Sync PSGalleryModules to Artifacts
build ( #12277 )
...
Merging this to unblock daily build
2020-04-07 17:26:41 -07:00
Aditya Patwardhan
515511094d
Update change log generation script to support collapsible sections ( #12214 )
2020-03-27 17:40:12 -07:00
Aditya Patwardhan
5b390f1507
Update README.md
and metadata.json
for 7.1.0-preview.1
( #12211 )
...
* Update `README.md` and `metadata.json` for `7.1.0-preview.1` release
* Add missing version updates
* fix test failure
* fix test failure
Co-authored-by: Travis Plunk <github@ez13.net>
2020-03-26 12:30:05 -07:00
Steve Lee
b7cb335f03
Update copyright notice to latest guidance ( #12190 )
2020-03-24 11:08:37 -07:00
Travis Plunk
7a8094fd31
Put symbols in separate package ( #12169 )
2020-03-21 12:36:10 -07:00
Steve Lee
495dea0783
Move to .NET 5 preview.1
( #12140 )
2020-03-19 11:27:13 -07:00
Travis Plunk
9d592ea388
Move to standard internal pool for building ( #12119 )
2020-03-13 09:00:18 -07:00
Travis Plunk
f0a8220398
Fix package syncing to private Module Feed ( #11841 )
2020-03-13 17:54:27 +05:00
Andrew
268afbdb4d
Fix MSIX packaging to determine if a Preview release by inspecting the semantic version string ( #11991 )
2020-03-05 10:59:51 -08:00
Aditya Patwardhan
703b075aac
Update README.md
and metadata.json
for the next release ( #11992 )
2020-03-04 09:32:21 -08:00
Travis Plunk
c97f2d7fd7
Publish PowerShell vPack
for stable and better builds ( #11960 )
2020-02-27 10:13:29 -08:00
Aditya Patwardhan
23b0299b2a
Ensure the man gzip has the correct name for LTS release ( #11956 )
2020-02-26 15:20:01 -08:00
Aditya Patwardhan
697dc5b371
Update README.md
and metadata.json
next release ( #11918 )
2020-02-21 15:58:15 -08:00
Aditya Patwardhan
8e68397228
Add LTSRelease
value from metadata.json
to release.json
( #11897 )
2020-02-19 15:34:29 -08:00
Dongbo Wang
d4536cfb77
Make LTS package always not a preview ( #11895 )
2020-02-19 15:07:11 -08:00
Aditya Patwardhan
ac55229644
Fix daily package build ( #11882 )
2020-02-19 12:45:17 -08:00
Aditya Patwardhan
84aeff861e
Update LTS
logic to depend on metadata.json
( #11877 )
2020-02-18 15:01:54 -08:00
Aditya Patwardhan
3cb1b23a13
Set default value of LTSRelease
to false ( #11874 )
2020-02-18 15:01:08 -08:00
Aditya Patwardhan
1e5655b48c
Refactor packaging pipeline ( #11852 )
...
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2020-02-14 08:44:43 -08:00
Travis Plunk
d91af72726
Make sure LTS
packages have symlink for pwsh
and pwsh-lts
( #11843 )
2020-02-13 18:46:10 -08:00
Travis Plunk
63dd5a19e2
Fix package sorting for syncing to private Module Feed ( #11838 )
2020-02-12 14:15:54 -08:00
Dongbo Wang
78a210121b
Update the NuGet package generation to include cimcmdlet.dll
and most of the built-in modules ( #11832 )
2020-02-11 16:13:21 -08:00
xtqqczze
e2f838e3c5
Update changelog generation script ( #11736 )
...
# PR Summary
* Fix regression from #11652
* Fix [MD022](https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md032---lists-should-be-surrounded-by-blank-lines ) / [MD032](https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md032---lists-should-be-surrounded-by-blank-lines ) rule violations
* Modify `Get-ChangeLog` to generate the changelog according to the format from #11652 .
## PR Context
Follow-up to #11652
## PR Checklist
- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress ).
- If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.
- **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes )**
- [x] None
- **OR**
- [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md )
- [ ] Experimental feature name(s): <!-- Experimental feature name(s) here -->
- **User-facing changes**
- [x] Not Applicable
- **OR**
- [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [ ] Issue filed: <!-- Number/link of that issue here -->
- **Testing - New and feature**
- [x] N/A or can only be tested interactively
- **OR**
- [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting )
- **Tooling**
- [x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
- **OR**
- [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:
- Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices ) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell ) for VSCode (which runs in a different PS Host).
- Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
- Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer ) (which provides linting & formatting in the editor extensions).
- Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax ) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).
2020-02-05 23:49:34 +00:00
Aditya Patwardhan
bb021a977f
Change packaging to produce LTS
packages ( #11772 )
2020-02-04 16:21:59 -08:00
Travis Plunk
f3cc834f0c
Update to CredScan v2
( #11765 )
2020-02-04 13:21:06 -08:00
Aditya Patwardhan
5ff8fadd19
Build tar packages only when building on Ubuntu ( #11766 )
2020-02-04 11:21:08 -08:00
xtqqczze
2014ce66c1
Set StrictMode
version 3.0
( #11563 )
2020-02-03 09:44:10 -08:00
Travis Plunk
8206e96ba1
Fix Symlink creation in packaging.psm1 ( #11723 )
2020-01-29 14:24:38 -08:00
Travis Plunk
8b36149795
Move to version 3 of AzFileCopy ( #11697 )
2020-01-28 19:51:07 +00:00
Aditya Patwardhan
84f2a7d170
Update README.md
and metadata.json
for next release ( #11664 )
2020-01-27 16:01:22 -08:00
Aditya Patwardhan
cbd2ee56d5
Update README.md
and metadata.json
for next release ( #11597 )
2020-01-16 15:40:51 -08:00
Ilya
aefb82a308
Correct casing for automatic variables ( #11568 )
...
* Remove BOM, insert newline at EOF
* Correct case of $MyInvocation special variable
* Correct case of $OFS special variable
* Correct case of $NestedPromptLevel special variable
* Correct case of $Matches special variable
* Correct case of $LASTEXITCODE special variable
* Correct case of $StackTrace special variable
* Correct case of $args special variable
* Correct case of $this special variable
* Correct case of $input special variable
* Correct case of $PSCmdlet special variable
* Correct case of $error special variable
* Correct case of $PSDefaultParameterValues special variable
* Correct case of $PSScriptRoot special variable
* Correct case of $PWD special variable
* Correct case of $null special variable
* Correct case of $true special variable
* Correct case of $false special variable
* Correct case of $PSModuleAutoLoadingPreference special variable
* Correct case of $IsLinux special variable
* Correct case of $IsMacOS special variable
* Correct case of $IsWindows special variable
* Correct case of $IsCoreCLR special variable
* Correct case of $DebugPreference special variable
* Correct case of $VerbosePreference special variable
* Correct case of $InformationPreference special variable
* Correct case of $ExecutionContext special variable
* Correct case of $HOME special variable
* Correct case of $Host special variable
* Correct case of $PID special variable
* Correct case of $PSCulture special variable
* Correct case of $PSHOME special variable
* Correct case of $PSUICulture special variable
* Correct case of $PSVersionTable special variable
* Fix false positives
2020-01-14 21:39:30 +05:00
Dongbo Wang
be813a2fd9
Generate the correct reference assembly for Microsoft.PowerShell.ConsoleHost
NuGet package ( #11545 )
2020-01-13 15:58:02 -08:00
xtqqczze
e0d2e2aade
Correct case of $PSHOME special variable
2020-01-13 19:35:33 +00:00
xtqqczze
94a73caa41
Correct case of $IsWindows special variable
2020-01-13 19:27:21 +00:00
xtqqczze
4a9d70fdcd
Correct case of $PWD special variable
2020-01-13 19:24:10 +00:00
xtqqczze
42d50434f8
Correct case of $PSCmdlet special variable
2020-01-13 19:19:12 +00:00
xtqqczze
89e33f5772
Correct case of $Matches special variable
2020-01-13 19:15:17 +00:00
Bill Hurt
0119ec2b1f
Update Debian Install Script To Support Debian 10 ( #11540 )
...
Support for installing pwsh on Debian 10 was added in #11236 , but the
install script for Debian was not updated. This resulted in an error
when running the install script that claimed the distro was not
supported.
This change simply adds `10` to the collection of supported distro's.
I have tested that the script will now successfully install powershell
preview 7 on a Debian 10 machine.
Fix #11539
2020-01-12 15:00:42 -08:00
xtqqczze
743983390e
Update pester syntax to v4 ( #11544 )
...
* Capitalize 'Should' command and fix whitespace
```powershell
$_ -ireplace '\s?\|\s?should\b',' | Should'
```
* Capitalise and apply hyphen to 'Not' parameter
```powershell
$_ -ireplace '(\| Should) not\b','$1 -Not'
```
* Capitalise and apply hyphen to 'Be' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?be\b','$1 -Be'
```
* Capitalise and apply hyphen to 'BeExactly' parameter
$_ -ireplace '(\| Should(?: -Not)?) -?beexactly\b','$1 -BeExactly'
* Capitalise and apply hyphen to 'BeGreaterThan' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?begreaterthan\b','$1 -BeGreaterThan'
```
* Use 'BeTrue' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?true\b','$1 -BeTrue'
```
* Use 'BeFalse' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?false\b','$1 -BeFalse'
```
* Capitalise and apply hyphen to 'Match' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?match\b','$1 -Match'
```
* Capitalise and apply hyphen to 'Throw' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?throw\b','$1 -Throw'
```
* Capitalise and apply hyphen to 'BeNullOrEmpty' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?benullorempty\b','$1 -BeNullOrEmpty'
```
* Capitalise 'Because' parameter
```powershell
$_ -ireplace '\s-because\b',' -Because'
```
* Fix 'BeNullOrEmpty'
2020-01-11 20:41:59 +05:00
xtqqczze
70d9ed4d55
Remove Unicode BOM from text files ( #11546 )
2020-01-11 12:15:34 +05:00
Steve Lee
f61c0d4444
Update building of MSIX
for RC
to use 100 range revision ( #11526 )
2020-01-09 11:58:51 -08:00
Aditya Patwardhan
0b97d6d5cf
Fix symbolic links on Debian 10 packages ( #11474 )
2020-01-07 16:54:03 -08:00
Aditya Patwardhan
8cb75f7e02
Build test artifacts for Alpine ( #11483 )
2020-01-07 12:12:19 -08:00
Travis Plunk
2c0d68c1c2
Add script to rebuild WIX component refs ( #11485 )
...
* Add script to rebuild component refs
* fix type
* fix document we get componentGroup from
* update files.wxs
* fix dependencies
2020-01-04 12:14:35 -08:00
Dongbo Wang
04cf068878
Update the NextReleaseTag to be v7.0.0-preview.7 ( #11372 )
2019-12-17 09:49:55 -08:00
Dongbo Wang
ed18030e5f
Update ChangeLog, README.md and metadata.json for 7.0.0-rc.1 release ( #11363 )
2019-12-16 15:04:28 -08:00
Aditya Patwardhan
395c29cff8
Update dependencies from PowerShell Gallery and NuGet ( #11323 )
2019-12-11 15:21:03 -08:00
Paul Higinbotham
32e219814c
Fix Nuget package signing for Coordinated Package build ( #11316 )
2019-12-10 15:44:00 -08:00
Aditya Patwardhan
8e76ad00e2
Bump .NET
to 3.1.0
( #11260 )
2019-12-04 13:17:16 -08:00
Travis Plunk
2ee9df5a5d
fixes #11187 ( #11236 )
2019-12-03 19:39:06 +00:00
Dongbo Wang
d68d126cae
Change back to use powershell.exe in 'SetVersionVariables.yml' to unblock daily build ( #11207 )
...
This reverts commit cf729c3407
.
2019-11-27 13:35:21 -08:00
Dongbo Wang
cf729c3407
Change to use pwsh to have consistent JSON conversion for DateTime
( #11126 )
2019-11-26 12:42:18 -08:00
Travis Plunk
b60381f922
Update macOS minimum version ( #11163 )
2019-11-24 17:41:53 +05:00
Paul Higinbotham
35cfe4a99a
Update Readme.md
for preview.6
release ( #11108 )
2019-11-21 16:55:41 -08:00
Paul Higinbotham
ea2617e940
Correct expected msix number.
2019-11-18 13:32:44 -08:00
Paul Higinbotham
d9131f7164
Allow win7x86 msix package to build.
2019-11-18 13:29:49 -08:00
Aditya Patwardhan
8ff29ddc62
Allow semantic versions to be passed to NormalizeVersion
fun… ( #11087 )
2019-11-15 16:41:03 -08:00
Aditya Patwardhan
8fcd772353
Bump .NET core framework to 3.1-preview.3
( #11079 )
2019-11-14 17:06:46 -08:00
Ryan Yates
094d49791e
Adds examples to install-powershell.ps1
script ( #11024 )
2019-11-12 14:51:17 -08:00
dependabot-preview[bot]
7411ca8331
Bump Newtonsoft.Json ( #11037 )
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 12.0.2 to 12.0.3.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.2...12.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-12 10:42:44 +05:00
Travis Plunk
57a071e9e6
Add Debian 10, 11 and CentOS 8 packages ( #11028 )
2019-11-11 12:29:24 -08:00
Dongbo Wang
8081e765d8
Upload Build-Info Json file with the 'ReleaseDate' field ( #10986 )
2019-11-07 12:10:06 -08:00
Aditya Patwardhan
08e120ca2b
Bump .NET core framework to 3.1-preview.2
( #10993 )
2019-11-07 11:45:17 -08:00
Steve Lee
ee64f47e76
Enable build of x86 MSIX package ( #10934 )
2019-11-05 13:03:44 -08:00
MJECloud
96e2a2e941
Install-Powershell.ps1
: Add parameter to use MSI installation (#10921 )
2019-10-30 13:02:12 -07:00
Ryan Yates
7b7fb0ef5e
Add basic examples for install-powershell.ps1
( #10914 )
...
* add basic info for install-powershell.ps1 fixes #10911
Adds some basic details for install-powershell.ps1 script
* Replaced Aliases
2019-10-30 12:31:49 -07:00
Steve Lee
87bb1e6f74
Update AppX Manifest and Packaging module to conform to MS Sto… ( #10878 )
2019-10-24 13:50:28 -07:00
Andrew
b67e2e347e
Updating links in README.md and metadata.json for Preview.5 ( #10854 )
2019-10-23 12:12:18 -07:00
Aditya Patwardhan
49e906bc3b
Select the files for compliance tests which are owned by PowerShell ( #10837 )
...
* Move fxd compliance to the top to avoid binskim and apiscan on fxd folder
* Choose only the files we build for compliance
* Update tools/packaging/packaging.psm1
Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>
2019-10-19 10:32:34 -07:00
Aditya Patwardhan
74eaf1980f
Move to .NET Core 3.1 preview 1 ( #10798 )
2019-10-18 16:49:25 -07:00
Himura Kazuto
d200ba0c04
Switch from /etc/lsb-release to /etc/os-release ( #10773 )
...
/etc/lsb-release does not exist on Debians
2019-10-12 12:31:23 +00:00
centreboard
54fd7d805d
Check pwsh.exe
and pwsh
in daily version on Windows ( #10738 )
...
Improves on #10489
2019-10-10 14:37:35 -05:00
Travis Plunk
c091b9ccc4
Remove unneeded tap in installpsh-osx.sh
( #10752 )
2019-10-09 14:50:43 -07:00
Dongbo Wang
74517923cf
Make Add-Type
usable in application that hosts PowerShell ( #10587 )
2019-09-25 16:26:19 -07:00
Christoph Bergmeister [MVP]
3b93fd285e
Update to .Net Core 3.0 RTM ( #10604 )
2019-09-23 13:10:58 -07:00
Steve Lee
becb4d98a6
Update MSIX packaging so the version to Store requirements ( #10588 )
...
update packaging msix so version conforms to Store requirment
2019-09-23 12:26:19 -07:00
Dongbo Wang
8904faf665
Merged PR 10011: Update README.md and metadata.json for 7.0.0-preview.4
...
Update README.md and metadata.json for 7.0.0-preview.4
2019-09-17 17:57:59 +00:00
Christoph Bergmeister [MVP]
146bae01f9
Upgrade .Net Core 3.0 version from Preview 9 to RC1 ( #10552 )
2019-09-16 15:15:59 -07:00
Travis Plunk
3f55131a41
Fix script to set release tag
2019-09-12 15:04:09 -07:00
Aditya Patwardhan
33cff2dec4
Update README and metadata for next releases ( #10523 )
2019-09-12 14:30:25 -07:00
Andrew
ed29ad1506
Adding PSCore group policy definitions ( #10468 )
2019-09-12 13:41:59 -07:00
Tyler James Leonhardt
2aae04a659
Prevent the installation of the same version we have. ( #10489 )
...
* Prevent the installation of the same version we have.
* update the buildinfo to be an aka.ms url
* convert tab to spaces
* spaces not tabs
2019-09-12 11:25:30 -07:00
Christoph Bergmeister [MVP]
5a66306c71
Upgrade to Netcoreapp3.0 preview9
( #10484 )
2019-09-06 12:15:49 -07:00
Travis Plunk
559467464b
Make sure the daily coordinated build, knows it is a daily bui… ( #10464 )
2019-08-29 14:42:02 -07:00
Travis Plunk
704ee90d5c
Update the combined package build to release the daily builds ( #10449 )
2019-08-28 09:44:02 -07:00
Reece Dunham
da748549e3
Remove yet another appveyor reference ( #10445 )
2019-08-27 10:26:42 -07:00
Aditya Patwardhan
428784f52e
Some dependencies for Alpine need linux-x64
folder ( #10407 )
2019-08-21 14:30:56 -07:00
Aditya Patwardhan
07e64f3a7f
Update README.md
and metadata.json
for 7.0.0-preview.3
( #10393 )
2019-08-20 16:08:42 -07:00
Steve Lee
4220271e0e
Move to .NET Core 3.0 preview.8 ( #10351 )
2019-08-15 13:42:17 -07:00
Tyler James Leonhardt
38a63eaf64
Add Microsoft.PowerShell.CoreCLR.Eventing.dll
to exception list for build fix ( #10337 )
2019-08-12 09:59:02 -07:00
Christoph Bergmeister [MVP]
7af38294db
Update PowerShell to build against .NET Core 3.0-preview7 ( #10227 )
2019-08-05 09:56:29 -07:00
Aditya Patwardhan
6a73cc5bb4
Update docs for 7.0.0-preview.2
release ( #10160 )
2019-07-17 14:19:13 -07:00
Aditya Patwardhan
119bffbc05
Update README.md and metadata.json for next releases ( #10087 )
2019-07-16 11:36:39 -07:00
Aditya Patwardhan
540737ebe1
Split the fxdependent package on Windows into two packages ( #10134 )
2019-07-12 17:18:11 -07:00
Aditya Patwardhan
7150308de6
Revert "Bump System.Security.Principal.Windows ( #10101 )" ( #10133 )
...
This reverts commit f75c635ce4
.
2019-07-11 18:10:16 -07:00
Aditya Patwardhan
b6f4d79ef8
Revert "Bump System.Security.AccessControl ( #10102 )" ( #10132 )
...
This reverts commit 729a29ab15
.
2019-07-11 17:45:22 -07:00
dependabot-preview[bot]
729a29ab15
Bump System.Security.AccessControl ( #10102 )
...
Bumps System.Security.AccessControl from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 16:25:27 +05:00
dependabot-preview[bot]
f75c635ce4
Bump System.Security.Principal.Windows ( #10101 )
...
Bumps System.Security.Principal.Windows from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 16:24:38 +05:00
dependabot-preview[bot]
8e736d247a
Bump System.Security.AccessControl ( #10100 )
...
Bumps System.Security.AccessControl from 4.6.0-preview6.19303.8 to 4.6.0-preview.19113.10.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 13:51:37 +05:00
Travis Plunk
1078caff2b
Update change log generation tool to deal with private commits ( #10096 )
2019-07-10 14:53:02 -07:00
Travis Plunk
544907eff9
add performance tag to change log command
2019-07-09 16:43:25 -07:00
Christoph Bergmeister [MVP]
fe56f9d902
Upgrade .Net Core 3 SDK from preview5 to preview6 and related out of band Nuget packages from 2.1 to 3.0-preview6 ( #9888 )
2019-07-09 14:35:08 -07:00
Tyler James Leonhardt
df8e01e95a
Add to /etc/shells on macOS ( #10066 )
...
Co-Authored-By: Robert Holt <rjmholt@gmail.com>
2019-07-06 16:50:40 -07:00
Aditya Patwardhan
142f5dcad5
Update copyright symbol for NuGet packages ( #9936 )
2019-06-27 17:27:19 -07:00
Amit Saraf
7bce46bc5b
Download latest version (6.2.0) of PSDesiredStateConfiguration nuget package. ( #9932 )
2019-06-27 10:22:32 -07:00
Travis Plunk
f24428a00c
Add automated RPM signing to release build ( #10013 )
2019-06-27 10:21:44 -07:00
Bram Crielaard
4967416067
Fix amazonlinux install script ( #9967 )
2019-06-21 13:36:11 -07:00
Reece Dunham
052ee86aa4
Indentation fixes in ci.psm1 ( #9947 )
2019-06-20 13:03:56 -07:00
Reece Dunham
db3c114587
Fix minor typos in code comments ( #9917 )
2019-06-20 12:11:20 -07:00
Reece Dunham
4223bf1f8e
Remove some Travis-CI references ( #9919 )
2019-06-20 11:08:32 -07:00
Reece Dunham
66e571b19f
Improve release testing Docker images ( #9942 )
2019-06-20 10:16:45 -07:00
Dongbo Wang
94b6b6f4f7
Clean up the use of 'SetProfileRoot' and 'StartProfile' in ConsoleHost ( #9931 )
...
* Clean up the use of 'SetProfileRoot' and 'StartProfile' in ConsoleHost
* Remove 'pwsh.pdb' from our component file list
2019-06-19 11:34:47 +05:00
Travis Plunk
f65497711e
Update to use TSAv2 ( #9914 )
2019-06-17 11:57:39 -07:00
Travis Plunk
943cff95f6
Increase timeout of NuGet job to workaround build timeout ( #9772 )
2019-05-30 15:25:21 -07:00
Aditya Patwardhan
8b121f5a97
Update README and metadata.json for 7.0.0-preview.1 release ( #9767 )
2019-05-30 15:24:45 -07:00
Travis Plunk
1ce2de4a15
Merge branch 'release/v7.0.0-preview.1' into master
2019-05-30 14:42:09 -07:00
Aditya Patwardhan
76e632402e
Merged PR 8547: Fix the PowerShell version number in MSI packages
...
Fix the PowerShell version number in MSI packages
2019-05-29 22:37:18 +00:00
Aditya Patwardhan
c2ba87d845
Update the target framework for reference assemblies to netcoreapp3.0 ( #9747 )
...
Update the target framework for reference assemblies to netcoreapp3.0
2019-05-28 15:09:48 -07:00
Aditya Patwardhan
ab7168f62e
Merged PR 8510: Update the target framework for reference assemblies to netcoreapp3.0
...
Update the target framework for reference assemblies to netcoreapp3.0
2019-05-24 20:17:31 +00:00
Steve Lee
61c7b7f120
Fix daily CodeCoverageAndTest
build by explicitly calling Start-PSBootStrap
( #9724 )
2019-05-24 11:13:40 -07:00
Aditya Patwardhan
a1addf8882
Merged PR 8504: Fix syncing modules from powershell gallery by normalizing version numbers
...
Fix syncing modules from powershell gallery by normalizing version numbers and added additional logging.
2019-05-24 00:07:09 +00:00
Steve Lee
ba94c6cfeb
Run Start-PSBootStrap in Code Coverage build to install .NET SDK ( #9690 )
2019-05-23 11:07:37 -07:00
Travis Plunk
24c800f07c
Update version tests to use NextReleaseVersion from metadata.json ( #9646 )
2019-05-21 12:19:13 -07:00
Aditya Patwardhan
82478d23e5
Update README and metadata.json ( #9624 )
2019-05-21 11:16:54 -07:00
Steve Lee
29e21470d9
Port PowerShell to .NET Core 3.0 ( #9597 )
2019-05-21 13:43:51 +08:00
Steve Lee
a96b4c0404
Update use of "PowerShell Core" to just "PowerShell" ( #9513 )
2019-05-10 15:34:27 -07:00
Aditya Patwardhan
9f429f0206
Build test packages for windows, linux-x64, linux-arm, linux-arm64 and macOS ( #9476 )
2019-04-26 15:41:07 -07:00
Steve Lee
3e1f630695
Add Preview assets for msix ( #9375 )
2019-04-22 10:41:34 -07:00
dependabot[bot]
ecbde6c020
Build(deps): Bump Newtonsoft.Json ( #9431 )
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 12.0.1 to 12.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.1...12.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 13:37:09 +05:00
Aditya Patwardhan
f286c8ce63
Remove elements which do not work on earlier version on Windows PowerShell ( #9411 )
2019-04-18 16:56:53 -07:00
Aditya Patwardhan
99c3fd1757
Convert custom attribute ValidatePathNotInSettings to function ( #9406 )
2019-04-18 12:49:42 -07:00
Aditya Patwardhan
3ffd998c58
Create codecoverage and test packages for non-windows ( #9373 )
...
Refactor the `ci.psm1` to publish the code coverage and test packages.
Allow `CodeCoverage` configuration on non-windows.
## PR Context
We plan to run code coverage on Windows, Linux and macOS. These changes are needed to unblock those runs.
2019-04-16 15:13:30 -07:00
Steve Lee
73114ee36c
Enable building of msix package ( #9289 )
...
Add support in packaging.psm1 to produce a .msix AppX package. Update the docker image to use the new msix package type. Update the associated yml files so AzDevOps performs the build.
## PR Context
Enable publishing PSCore6 to Microsoft Store
2019-04-15 17:07:15 -07:00
Aditya Patwardhan
02974a986d
Create test package for macOS on release builds ( #9344 )
2019-04-13 19:01:28 -07:00
Aditya Patwardhan
be505772e2
Add AcessToken variable to jobs that perform signing ( #9351 )
2019-04-13 18:59:51 -07:00
Travis Plunk
e2bfced875
Update repo for Ubuntu 14.04 EOL ( #9324 )
...
Update repo for Ubuntu 14.04 EOL
- also remove a missed instance of Fedora 27
2019-04-09 17:54:13 -07:00
Travis Plunk
b990c76992
Add CI for install-powershell.sh
and amazon linux ( #9314 )
2019-04-08 14:45:15 -07:00
Christoph Bergmeister [MVP]
f5fc0535ac
Preserve user shortcuts pinned to Taskbar during MSI upgrade ( #9305 )
...
Fixes #8919
Preserve user shortcuts pinned to Taskbar during MSI upgrade by not removing shortcuts in this case (assuming the user has not changed the installation directory), see https://stackoverflow.com/a/33402698/1810304
This also requires the Guid to not always be re-generated, which PR #7701 originally added to ensure shortcuts get removed when RTM and preview are installed, the underlying problem was rather that RTM and preview shared the same GUIDs, therefore the GUIDs are hard-coded again but different for RTM and preview, therefore the shortcuts will still always get removed on uninstall. But this also means those GUIDs should change when the default installation directory changes, i.e. in PowerShell 7. Should we write the code to already take this into account that it does not get forgotten?
Tested by first reproducing the issue by building installers locally (and bumping the patch version. Then the fix was applied to verify the solution, it. For this to take effect the version from which an MSI is being upgraded must have this fix already, i.e. if this fix got shipped in `6.2.1`, then on upgrading to it, the issue would still occur but when upgrading `6.2.1` to `6.2.2` the shortcut would start being preserved. I am wondering if we could maybe improve this to show effect earlier by trying to extract the used (auto-generated) GUIDs in the `6.2.0` and `6.2.0-rc` packages out and use them...
Please not that we probably need to take this out for `7.0` because the base installation directory will change. This also assumes that the user has not specified a different installation directory on upgrade but this is a bit of an edge case where I think other things might break as well.
2019-04-07 12:25:56 -07:00
Steve Lee
b63696572f
Fix skipping of tests in RemoteSession.Basic.Tests.ps1 ( #9304 )
...
Moved check if able to write to $PSHome as way to skip test to `BeforeAll` which already contained a check if running on Windows.
## PR Context
As part https://github.com/PowerShell/PowerShell/pull/9279 , tests were updated to be skipped if the test requires writing to `$PSHome` but is not able to. However, these tests already had a skip mechanism in place so the additional check caused the test to run when it should have skipped.
Co-authored-by: Travis Plunk <github@ez13.net>
2019-04-05 17:00:41 -07:00
Travis Plunk
e10603c4f0
Make sure non-Windows CI fails when a test fails ( #9303 )
...
Make sure non-Windows CI fails when a test fails
## PR Context
We discovered that some tests were failing after a PR and the CI was not failing
2019-04-05 15:49:30 -07:00
Aditya Patwardhan
074b344133
Remove duplicate Policheck task and pin to specific version ( #9297 )
2019-04-04 16:14:57 -07:00
Aditya Patwardhan
4bd41e836c
Publish windows daily build to MyGet ( #9288 )
2019-04-03 13:22:51 -07:00
Aditya Patwardhan
10fa1fc1dd
Move artifacts to artifact staging directory before uploading ( #9273 )
2019-04-02 11:56:48 -07:00
Travis Plunk
b7c7aa176e
Make install-powershell.ps1
work on Windows Server 2012 R2 ( #9271 )
2019-04-02 10:39:09 -07:00
Aditya Patwardhan
34fa5e472d
Fix publishing daily nupkg to MyGet ( #9269 )
2019-04-01 16:58:43 -07:00
Travis Plunk
17f5a5ccbe
Add component detection to all jobs ( #8964 )
...
Add component detection to all jobs.
2019-03-29 15:18:55 -07:00
Aditya Patwardhan
df513bf7d8
Update docs for v6.2.0 ( #9229 )
2019-03-28 12:02:14 -07:00
Reece Dunham
12276147e6
Remove code from CI.psm1
to optionally run Feature tests ( #9212 )
2019-03-27 13:29:15 -07:00
Aditya Patwardhan
8763c0b1d1
Performance improvements for release build ( #9179 )
...
This PR optimizes the download tasks to reduce build times. After the change we see a order of magnitude reduction in download times for Windows package signing and also the compliance tasks.
In addition to that the PR also makes changes to organize the build artifacts in folders.
2019-03-21 10:24:49 -07:00
Aditya Patwardhan
337ce63734
Use IL assemblies for NuGet packages to reduce size ( #9171 )
2019-03-21 10:03:46 -07:00
Aditya Patwardhan
95a8091991
Add tsaVersion
property as TsaV1
for compliance build phase ( #9176 )
...
Add the tsaVersion property with values as TsaV1 as it defaults to v2 instead. We explicitly need v1.
2019-03-20 14:01:39 -07:00
Aditya Patwardhan
753d31809b
Publish global tool packages to pwshtool
blob and bug fixes ( #9163 )
2019-03-20 13:44:40 -07:00
Reece Dunham
eac31019ab
Disable Homebrew analytics in macOS VSTS builds ( #9130 )
2019-03-16 11:57:16 -07:00
Reece Dunham
1e49d09d29
Remove appveyor references from packaging tools ( #9117 )
...
Removes appveyor stuff
## PR Context
<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
#8686 , appveyor removed
2019-03-12 12:13:55 -07:00
Bram Crielaard
b115dff0eb
Remove AppImage from tools ( #9100 )
2019-03-11 16:19:05 -07:00
Reece Dunham
d63ac8934d
Fixed Dockerfile syntax highlighting ( #8991 )
...
The `f` in Dockerfile is not uppercase, this breaks syntax highlighting for vscode on my client
<!-- Summarize your PR between here and the checklist. -->
## PR Context
`DockerFile` breaks syntax highlighting as mentioned and described above.
<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
2019-03-11 15:16:12 -07:00
Aditya Patwardhan
ab1d47712b
Fix dependencies of nuget build to wait on DEB uploads to finish ( #9118 )
...
The NuGet build task should wait on uploads for DEB job to complete.
## PR Context
There is a race condition when the build for DEB is completed but the upload has not. If the NuGet build job starts it may not get all the packages needed for building nuget packages.
2019-03-11 15:02:29 -07:00
Travis Plunk
058a19028d
Refactor macOS CI so that tests run in parallel ( #9056 )
...
Refactor macOS CI so that tests run in parallel
- Also:
- Fix bootstrap issue where curl was failing for a month (so obviously not needed)
- Change Windows test stages to use PowerShell Core (where we can) to avoid compat issues
## PR Context
This allows running all tests in about the same about of clock time.
2019-03-11 13:00:22 -07:00
Travis Plunk
382e5cc871
Fix artifact Download issue in release build ( #9095 )
...
Fix artifact Download issue in release build
2019-03-08 15:18:38 -08:00
Bram Crielaard
7031954669
Make install scripts more consistent over different operating systems ( #9071 )
...
I noticed a couple of inconsistencies when reading through the install bash scripts.
- Make documentation for switches consistent over all files.
- Replace all `sed` implementations of `lowercase` with a more maintainable `tr` implementation.
- Set the `OS` variable in every install script, making it so previously unused checks are actually used.
- Exit with a non-zero exit code when the script reaches an illegal state.
## PR Context
A lot of people, including myself, read the install scripts before executing them. While doing so I noticed they contained inconsistencies. For example, certain flags you can pass to the install script were either undocumented or had an incorrect description. This PR fixes some of these inconsistencies, which should make them easier to maintain and easier to read.
Co-authored-by: Travis Plunk <github@ez13.net>
2019-03-08 13:00:04 -08:00
Reece Dunham
ae8c841d07
Comment cleanup in releaseTools.psm1
( #9064 )
2019-03-07 18:10:41 -08:00
Aditya Patwardhan
7caf59be3e
Publish test package on release builds ( #9063 )
2019-03-06 10:00:35 -08:00
Aditya Patwardhan
861b6c8a5f
Update docs for 6.2.0-rc.1 release ( #9022 )
2019-03-05 11:26:17 -08:00
Aditya Patwardhan
c22669a236
Update UML to represent SDK and Global tool builds ( #8997 )
2019-03-01 13:07:25 -08:00
Aditya Patwardhan
cbd255e461
Code coverage artifacts ( #8993 )
...
Move the `TestPackage.zip` under code coverage and remove `tests.zip` as it is not needed anymore.
2019-02-28 14:38:45 -08:00
Travis Plunk
d7dd4b5dd2
Fix MSI Upgrade failure for preview builds ( #9013 )
2019-02-28 14:05:27 -08:00
Aditya Patwardhan
fb05169a51
Build Global tool for PowerShell and SDK container ( #8984 )
...
* Add shim dll to redirect to appropriate runtime
* Build updates for creating global tool package
* Add building global tool to nuget.yml
* Add azure upload of nuget packages
2019-02-26 12:56:29 -08:00
Travis Plunk
dc8aed97dc
Make test file result names unique ( #8979 )
...
Make test file result names unique
- Also, remove dead code that I found during investigation
Fixes #8978
## PR Context
Making the filenames unique, ensures that we can download the results from the artifacts and do our own processing of the results.
2019-02-25 15:18:26 -08:00
Travis Plunk
54ee33d759
Add variable to control the version of the signing task we use ( #8982 )
2019-02-25 15:06:01 -08:00
Aditya Patwardhan
76e8091513
Publish test and code coverage artifacts for daily builds ( #8955 )
2019-02-25 13:03:06 -08:00
Aditya Patwardhan
81d37fcb84
Integrate building NuGet package in the coordinated build ( #8947 )
2019-02-25 09:57:20 -08:00
Dongbo Wang
5d54f1aa38
Make xUnit tests run sequentially to avoid race conditions caused by manipulating 'powershell.config.json' in tests ( #8945 )
2019-02-22 11:57:10 -08:00
Reece Dunham
c14d5dd67f
Remove some of the last AppVeyor references ( #8867 )
...
This removes some of the last mentions of the AppVeyor name. Don't change the title, we don't want the word to appear in the CLs
Also problem: the last references are in the changelogs but I don't want to modify them without committee approval.
## PR Context
it was removed, #8686
2019-02-19 12:44:00 -08:00
Travis Plunk
93f33bb0d3
Update stable version to 6.1.3 ( #8902 )
2019-02-19 11:07:46 -08:00
Travis Plunk
af4e8117df
Support release branches based on the forward slash separator ( #8903 )
2019-02-19 10:47:39 -08:00
Travis Plunk
a7f798575d
Parallelize the windows CI to enable us to run all tests all the time ( #8868 )
...
Split Windows CI into the following Jobs
1. Combine Build and xUnit, which published build artifact
1. Elevated CI tests
1. Unelevated CI test
1. Elevated everything else tests
1. Unelevated everything else tests
1. Package build and test
1. Verify xUnit result
## PR Context
Before this test:
- A CI run would take ~14 minutes
- A Feature run would take ~30 minutes
After this change, it always runs all tests and takes ~20 minutes.
Job `Unelevated everything else tests` is the long poll, taking ~4 minutes longer than the next shortest job. We should be able to get this back down to ~15 if we split that test job somehow.
2019-02-14 16:33:19 -08:00
Travis Plunk
2834b576ab
Fixes for Scheduled release build ( #8887 )
2019-02-13 19:13:54 -08:00