Commit graph

587 commits

Author SHA1 Message Date
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