Commit graph

177 commits

Author SHA1 Message Date
Aditya Patwardhan 600b658990
Use Microsoft.PowerShell.MarkdownRender package from nuget.org (#14090) 2020-12-09 12:29:45 -08:00
Dongbo Wang 1b7aa0a5d5
Fix nuget packaging to scrub NullableAttribute (#14344) 2020-12-07 11:24:12 -08:00
Anam Navied a16f3eb204
Add validation and dependencies for Ubuntu 20.04 distribution to packaging script (#13993) 2020-11-05 18:14:12 -08:00
Dongbo Wang fc4c9cbfd7
Initial work of the subsystem plugin model (for minimal powershell) (#13186) 2020-08-20 17:41:44 -07:00
Dongbo Wang d9c2e0e712
Make the parameter 'args' non-nullable in the public ConsoleHost APIs (#13429) 2020-08-13 17:06:03 -07:00
Travis Plunk a00741e6c7
Sign individual files in pkg (#13392)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2020-08-11 14:01:47 -07:00
Travis Plunk 738496dc72
Use authenticode cert for msix signing (#13330) 2020-08-03 19:23:22 -07:00
Aditya Patwardhan f91e78ad69
Add default help content to the assets folder (#13257)
* Add default help content to the assets folder
* Reformatted and removed TechNet reference
2020-07-26 11:53:56 -07:00
Travis Plunk 3a2c164ec6
Refactor MSI code to make it easier to add a WiX EXE installer (#13139) 2020-07-10 10:46:00 -07:00
Aditya Patwardhan a3101fa35c
Fix NuGet package compliance issues (#13045) 2020-06-29 10:57:17 -07:00
Aditya Patwardhan a9206d546a
Remove component ref when regerenating the wix file (#13019) 2020-06-23 16:43:36 -07:00
Travis Plunk 7500513911
Make sure icons are added to MSI staging folder (#12983) 2020-06-22 10:44:04 -07:00
Travis Plunk 2fe34993c3
Sign the MSIX files for the store (#12582)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2020-05-29 10:26:30 -07:00
Heath Stewart f7c701c963
Fix MSI upgrade and shortcut issues (#12792)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2020-05-27 15:45:11 -07:00
Aditya Patwardhan 0e435a5143
Add GitHub action for PR creation and Wix file generation logic (#12748) 2020-05-21 18:47:54 -07:00
xtqqczze a015bfe44e
Remove assets\license.rtf (#12721)
# PR Summary

Since #8846, we do not show an EULA in the MSI, so we can remove `license.rtf`.

## PR Context

Fix #12719

## 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-05-20 10:25:19 +00: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 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 4989167fbf
Add the nuget.config from root to the temporary build folder (#12394) 2020-04-20 13:57:39 -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
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 23b0299b2a
Ensure the man gzip has the correct name for LTS release (#11956) 2020-02-26 15:20:01 -08:00
Dongbo Wang d4536cfb77
Make LTS package always not a preview (#11895) 2020-02-19 15:07:11 -08:00
Aditya Patwardhan 84aeff861e
Update LTS logic to depend on metadata.json (#11877) 2020-02-18 15:01:54 -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
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
Aditya Patwardhan bb021a977f
Change packaging to produce LTS packages (#11772) 2020-02-04 16:21:59 -08:00
Aditya Patwardhan 5ff8fadd19
Build tar packages only when building on Ubuntu (#11766) 2020-02-04 11:21:08 -08:00
Travis Plunk 8206e96ba1
Fix Symlink creation in packaging.psm1 (#11723) 2020-01-29 14:24:38 -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 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
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
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
Travis Plunk 2ee9df5a5d fixes #11187 (#11236) 2019-12-03 19:39:06 +00:00
Travis Plunk b60381f922 Update macOS minimum version (#11163) 2019-11-24 17:41:53 +05:00
Travis Plunk 57a071e9e6
Add Debian 10, 11 and CentOS 8 packages (#11028) 2019-11-11 12:29:24 -08:00
Steve Lee 87bb1e6f74 Update AppX Manifest and Packaging module to conform to MS Sto… (#10878) 2019-10-24 13:50:28 -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
Dongbo Wang 74517923cf Make Add-Type usable in application that hosts PowerShell (#10587) 2019-09-25 16:26:19 -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