Commit Graph
6419 Commits
Author SHA1 Message Date
Dongbo Wang f10279ef1f Update packaging script to build reference assembly targeting netcoreapp2.1 and use actual .csproj files (#8729)
# Conflicts:
#	tools/packaging/packaging.psm1
#	tools/packaging/packaging.strings.psd1
2019-02-01 15:12:19 -08:00
Travis Plunk 9bb19f3c9e Add instrumentation for Start-PSPackage saying Start-PSBuild parameters are wrong 2019-02-01 15:12:19 -08:00
Travis Plunk 3ea62d3bba Move Final artifacts from universal build to finalResults folder (#8806)
## PR Summary

Move Final artifacts from universal build to `finalResults` folder
2019-02-01 15:12:18 -08:00
Travis Plunk de44cf032c Refactor Unified Release Build (#8804)
Refactor Unified Release Build
  - Make injecting the nuget.config a template
  - Make setting the version variable a template
  - Add parameters to templates where needed
  - Run defender scan before uploading linux packages (and rename step to plain english)
2019-02-01 15:12:18 -08:00
Travis Plunk d3f3e9f1af Add compliance to Coordinated build (#8798)
Add compliance to Coordinated build
  - Also switch to mac internal pool for release build
  - Also turn some duplicate tasks into templates
  - Also fix issue with vscode configuration which causes yaml files not to be recogized as yaml
2019-02-01 15:12:17 -08:00
Travis Plunk b54a427d01 Switch to 1.11 of FPM to fix FPM install issue (#8797)
Switch to 1.11 of FPM to fix FPM install issue

# Conflicts:
#	build.psm1
2019-02-01 15:12:17 -08:00
Travis Plunk 74c225f02f Update the universal build with framework dependent package for dotnet sdk (#8773)
Update the universal build to also build the framework package needed for the dotnet sdk container image.

## PR Context

We build the package in individual builds. This change brings over the steps in the universal build.

# Conflicts:
#	tools/packaging/packaging.psm1
2019-02-01 13:32:52 -08:00
Travis Plunk fd770ea8f1 Add Windows build to universal release build YAML (#8695) 2019-02-01 13:28:20 -08:00
Aditya Patwardhan b9d7006dce Build package build using ubuntu 18.04 image (#8666)
# Conflicts:
#	tools/releaseBuild/build.json
2019-02-01 13:28:20 -08:00
Aditya Patwardhan 2a0d6c8514 Change the feed URL to feed name due to changes in AzDevOps (#8664)
# Conflicts:
#	tools/releaseBuild/azureDevOps/AzArtifactFeed/PSGalleryToAzArtifacts.yml
2019-02-01 12:59:45 -08:00
Andrew 818050d3d5 Adding yml for Windows Release builds (#8374) 2019-02-01 12:59:45 -08:00
Travis Plunk 83f53d02d6 Update SignType in signing.xml (#8223) 2019-02-01 12:59:44 -08:00
Aditya Patwardhan 196c9b49b8 Merged PR 6457: Change log for 6.1.2 release
Change log for 6.1.2 release
v6.1.2
2019-01-15 00:04:40 +00:00
Aditya Patwardhan 661fa811fe Merged PR 6442: Moved the cleanup logic to Restore-PSModuleToBuild
Moved the cleanup logic to Restore-PSModuleToBuild
2019-01-10 00:12:40 +00:00
Aditya Patwardhan 813a98e028 Merged PR 6438: Update version for README, alpine docker file and hosting tests
Update version for README, alpine docker file and hosting tests
2019-01-09 23:27:20 +00:00
Aditya Patwardhan 4162dfb100 Merged PR 6421: Update dependency versions
Update dependency versions
2019-01-08 20:00:58 +00:00
Jim Truher e2c9125d63 Merged PR 6310: Fix test failures
Fix test failures on release build
2019-01-08 19:27:31 +00:00
Travis Plunk b340bfea2d Create unified release build for macOS and Linux packages (#8399)
Create unified release build for macOS and Linux packages
  - Also, updated the definition with latest definitions from the definitions in use.

I will work on these in future PRs:

- Add compliance Job
- Add macOS Signing step
- Merging Windows into the YAML
# Conflicts:
#	tools/releaseBuild/azureDevOps/templates/linux.yml
2019-01-07 20:53:05 +00:00
Aditya Patwardhan c49b059aba Merged PR 6027: Build Alpine tar.gz package in release builds
Build Alpine `tar.gz` package in release builds (#8340)

Enable building tar.gz package for Alpine in release builds.

## 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] [Change is not breaking](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)
- [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:` to the beginning of the title and remove the prefix when the PR is ready.
- **User-facing changes**
    - [x] Not Applicable
    - **OR**
    - [ ] User-facing [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
        - [ ] Issue filed - Issue link:
- **Testing - New and feature**
    - [x] Not Applicable 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)
        - [ ] [Add `[feature]` if the change is significant or affects feature tests](https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr)
2018-11-28 00:58:03 +00:00
Travis Plunk deab7add4f Merged PR 5749: Add 6.1.1 change log
Add 6.1.1 change log
v6.1.1
2018-11-12 19:02:51 +00:00
Travis Plunk 472a2bda15 Merged PR 5716: Port changes to allow AzDevOps NuGet feeds for Mac build 2018-11-07 22:03:05 +00:00
Travis Plunk 1ddc3da663 Merged PR 5694: port mac changes from GitHub (#8189, #8188, #8185) 2018-11-06 22:10:02 +00:00
Aditya Patwardhan da5d8e707d Merged PR 5671: Update the Archive module version
Update the Archive module version
2018-11-06 20:43:33 +00:00
Travis Plunk ea3c0168a3 Merged PR 5667: Add function to create a new nuget.config file (#8170)
Add function to create a new nuget.config file (#8170)

Add a function to create a NuGet.config file to consume packages  from the specified feed URL using the specified credentials.

  - Also, exclude the `nuget.config` file under `src/Modules` from being clean by `Start-PSBuild -clean`

# Conflicts:
#	build.psm1
2018-11-06 01:26:46 +00:00
Travis Plunk 68557bce6a Change API to match cmdlet which is more reliable in AzDevOpsPipelines Windows (#8003)
Change API to match cmdlet which is more reliable in AzDevOpsPipelines Windows (#8003)

# Conflicts:
#	test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1
2018-11-05 23:30:02 +00:00
Travis Plunk b26805d365 Merged PR 5614: Fix conflict with Get-AdlStoreChildItem from az module in tab completion tests (#8167)
Fix conflict with `Get-AdlStoreChildItem` from `az` module in tab completion tests (#8167)
2018-11-05 20:27:17 +00:00
Paul Higinbotham bbc3dd0060 Merged PR 5660: Updated wxs file to match published packages
Updated wxs file to match published packages
2018-11-05 20:25:20 +00:00
Aditya Patwardhan a2237e4010 Merged PR 5612: Bump versions for dependencies
Bump versions for dependencies
2018-11-01 22:20:13 +00:00
Aditya Patwardhan 3f85c94bd2 Merged PR 5608: Use ZipFile and ExtractToDirectory APIs to extract zip file
Use ZipFile and ExtractToDirectory APIs to extract zip file
2018-11-01 18:28:28 +00:00
Travis Plunk f8f3774dfc Merged PR 5607: Fix issue logging null character in ScriptBlock logging
Fix issue logging null character in ScriptBlock logging
2018-11-01 18:12:38 +00:00
Paul Higinbotham 42ef309d1f Merged PR 5233: Consolidation of all Windows PowerShell work ported to 6.1
This PR combines all Windows PowerShell code changes needed for 6.1.

*  Disallow ps1 files from being imported as modules in CL mode
*  JEA loop back change to prevent code running in local session instead of remote session
*  Debugger does not run commands with Internal origin when in CL mode
*  Add support for new AMSI codes
*  Unhandled exception fix
*  Change to use AMSI buffer API
*  Module vulnerabilities under CL mode
*  Untrusted input tracking work
*  Configuration keyword
*  PSRP protocol version check for reconstruct reconnect
*  Sharing initial session state over multiple runspace pool runspaces
*  Restricted remote session in UMCI
*  Applocker detection collision
*  Help command exposing functions

Cherry picked from !5232
2018-11-01 18:04:29 +00:00
Travis Plunk 5320827662 Merged PR 5209: Disable package major upgrade tests for release branch
Disable package major upgrade tests for release branch
2018-10-03 21:17:39 +00:00
Ilya f6138ef55e Update to .NET Core 2.1.5 with SDK 2.1.403 (#7936)
# Conflicts:
#	PowerShell.Common.props
#	appveyor.yml
#	assets/files.wxs
#	global.json
#	test/Test.Common.props
#	test/tools/WebListener/WebListener.csproj
2018-10-03 13:39:41 -07:00
Aditya Patwardhan 855d2b9d75 Merged PR 4989: Update the release date
Update the release date
v6.1.0
2018-09-13 18:42:13 +00:00
Aditya Patwardhan 0f81101f5c Merged PR 4985: Update metadata json for 6.1.0 release
Update metadata json for 6.1.0 release
2018-09-13 16:52:17 +00:00
Dongbo Wang 65d15f08f2 Merged PR 4961: Update versions in README.md 2018-09-11 23:17:23 +00:00
Dongbo Wang 1ccdc3e5ce Merged PR 4959: Update the ChangeLog.md for 6.1.0 release 2018-09-11 21:27:49 +00:00
Travis Plunk 15a3beb12d Make sure MSI build works when not preview (#7752)
The variable was set to empty (meaning to delete the variable) in the non-preview case and the build fails.
The fix avoids setting the variable to empty
2018-09-10 14:36:23 -07:00
Aditya Patwardhan 5a587b551e Update version for powershell release 6.1.0 (#7751) 2018-09-10 13:20:23 -07:00
Dan Travison ccee14dc65 Ensure the SSHClientSessionTransportManager stream writer and reader fields are cleared after dispose. (#7746)
Fix possible race conditions accessing the fields during CloseConnection.
2018-09-10 13:06:05 -07:00
Aditya Patwardhan 89278290d9 Build and package framework dependent package (#7729)
Add the functionality to build a framework dependent (shared framework) package for PowerShell.

The changes create two packages, one for Windows and other for Linux, due to #if code.
2018-09-10 12:55:06 -07:00
Ilya 433ec46efb Cleanup FileSystemProvider from runtime checks (#7655)
Replace runtime checks with compile time checks.
Remove unneeded methods.
2018-09-10 11:18:50 -07:00
ThreeFive-O e74bd730fe Improve code style of Send-MailMessage cmdlet (#7723) 2018-09-10 11:18:50 -07:00
Travis Plunk 179ff6bc16 update metadata json in preparation for 6.1 release (#7741)
ReleaseTag is now StableReleaseTag
NextReleaseTag is not PreviewReleaseTag
Added ServicingReleaseTag for the N-1 Stable release
2018-09-10 11:18:50 -07:00
Ilya bec64a0743 Update CONTRIBUTION.md about adding an empty line after the copyright header (#7706) 2018-09-10 11:18:50 -07:00
Aditya Patwardhan c41b19923e Fix docker image names for release build (#7726) 2018-09-06 18:00:46 -07:00
Travis Plunk 433a263a17 Add daily build non-windows platforms (#7683)
Add daily build non-windows platforms
  - Also, make the [Feature] tag work in VSTS for non-windows
  - Also, add a way to force feature tests to run
  - Also, fix an issue where `-workingdirectory` didn't work when running async
2018-09-06 18:00:46 -07:00
Steve Lee b17c5113f4 update PSReadLine to 2.0.0-beta3 (#7711)
Update PSReadLine shipped with PSCore6 to 2.0.0-beta3
2018-09-06 18:00:45 -07:00
Christoph Bergmeister [MVP] b19630d167 Make Windows MSI uninstallation shortcut remove work when more than one version is installed (#7701)
Fixes underlying problem of #3341. Related: #2881
When multiple versions (e.g. RTM and preview) of PowerShell are installed via the MSI and one is being uninstalled, then the start menu shortcut does not get removed due to the shortcut component being not unique per version. This also applies to an upgrade scenario. Therefore use an auto-generated Guid (`*`)
2018-09-06 18:00:45 -07:00
Sergey Vasin b31ccf90d0 Fix a typo in Credential.cs. (#7696) 2018-09-06 18:00:45 -07:00