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