Merge pull request #2276 from andschwa/post-alpha.10

Update documentation and scripts for alpha.10
This commit is contained in:
Dongbo Wang
2016-09-15 21:11:53 -07:00
committed by GitHub
11 changed files with 34 additions and 34 deletions
+6 -6
View File
@@ -30,12 +30,12 @@ You can download and install a PowerShell package for any of the following platf
| macOS 10.11 | [.pkg][rl-macos] | [Instructions][in-macos] |
| Docker | | [Instructions][in-docker] |
[rl-windows10]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/PowerShell_6.0.0.9-alpha.9-win10-x64.msi
[rl-windows81]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/PowerShell_6.0.0.9-alpha.9-win81-x64.msi
[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb
[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb
[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm
[rl-macOS]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell-6.0.0-alpha.9.pkg
[rl-windows10]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.10/PowerShell_6.0.0.10-alpha.10-win10-x64.msi
[rl-windows81]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.10/PowerShell_6.0.0.10-alpha.10-win81-x64.msi
[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.10/powershell_6.0.0-alpha.10-1ubuntu1.16.04.1_amd64.deb
[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.10/powershell_6.0.0-alpha.10-1ubuntu1.14.04.1_amd64.deb
[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.10/powershell-6.0.0_alpha.10-1.el7.centos.x86_64.rpm
[rl-macOS]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.10/powershell-6.0.0-alpha.10.pkg
[installation]: docs/installation
[in-windows]: docs/installation/windows.md#msi
+1 -1
View File
@@ -1,4 +1,4 @@
version: 6.0.0-alpha.9-{build}
version: 6.0.0-alpha.10-{build}
image: Visual Studio 2015
+1 -1
View File
@@ -3,7 +3,7 @@
This demo (Azure-Demo.ps1) shows management of Azure Compute resource using Azure Resource Management (ARM) cmdlets.
## Prerequisites ##
- Install PowerShell 6.0.0-alpha.9
- Install PowerShell 6.0.0-alpha.10
- Install AzureRM.NetCore.Preview, AzureRM.Profile.NetCore.Preview and AzureRM.Resources.NetCore.Preview modules to a local directory.
- The instructions for downloading these modules are in Azure-Demo.ps1 file.
- You have to use the command "Install-Package -Name AzureRM.NetCore.Preview -Source https://www.powershellgallery.com/api/v2 -ProviderName NuGet -ExcludeVersion -Destination <Local Directory>"
+2 -2
View File
@@ -104,7 +104,7 @@ Logging to docker/logs/unstable-ubuntu16.04.log
Waiting for unstable containers to finish; tail the logs for more information.
$ ls packages
powershell_6.0.0-alpha.9-310-g5ded651-1ubuntu1.16.04.1_amd64.deb
powershell_6.0.0-alpha.10-310-g5ded651-1ubuntu1.16.04.1_amd64.deb
$ tail logs/unstable-ubuntu16.04.log
Step 5 : COPY bootstrap.ps1 /
@@ -116,5 +116,5 @@ Step 6 : RUN powershell -f bootstrap.ps1 && dpkg -i PowerShell/powershell*.d
Successfully built 9cd8b1ef79b3
LOG: Saving package to docker/packages
~/src/PowerShell/docker ~/src/PowerShell/docker
'/PowerShell/powershell_6.0.0-alpha.9-310-g5ded651-1ubuntu1.16.04.1_amd64.deb' -> '/mnt/powershell_6.0.0-alpha.9-310-g5ded651-1ubuntu1.16.04.1_amd64.deb'
'/PowerShell/powershell_6.0.0-alpha.10-310-g5ded651-1ubuntu1.16.04.1_amd64.deb' -> '/mnt/powershell_6.0.0-alpha.10-310-g5ded651-1ubuntu1.16.04.1_amd64.deb'
```
+2 -2
View File
@@ -1,8 +1,8 @@
FROM centos:7
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG POWERSHELL_RELEASE=v6.0.0-alpha.9
ARG POWERSHELL_PACKAGE=powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm
ARG POWERSHELL_RELEASE=v6.0.0-alpha.10
ARG POWERSHELL_PACKAGE=powershell-6.0.0_alpha.10-1.el7.centos.x86_64.rpm
# Setup the locale
ENV LANG en_US.UTF-8
+2 -2
View File
@@ -1,8 +1,8 @@
FROM ubuntu:trusty
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG POWERSHELL_RELEASE=v6.0.0-alpha.9
ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb
ARG POWERSHELL_RELEASE=v6.0.0-alpha.10
ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.10-1ubuntu1.14.04.1_amd64.deb
# Setup the locale
ENV LANG en_US.UTF-8
+2 -2
View File
@@ -1,8 +1,8 @@
FROM ubuntu:xenial
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG POWERSHELL_RELEASE=v6.0.0-alpha.9
ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb
ARG POWERSHELL_RELEASE=v6.0.0-alpha.10
ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.10-1ubuntu1.16.04.1_amd64.deb
# Setup the locale
ENV LANG en_US.UTF-8
+1 -1
View File
@@ -46,7 +46,7 @@ Where do I get the PowerShell Core SDK package?
=============================================================
The SDK NuGet package `Microsoft.PowerShell.SDK` is provided for developers to write .NET Core C# code targeting PowerShell Core.
PowerShell NuGet packages for releases starting from v6.0.0-alpha.9 will be published to the [powershell-core][] myget feed.
PowerShell NuGet packages for releases starting from v6.0.0-alpha.10 will be published to the [powershell-core][] myget feed.
To use the `Microsoft.PowerShell.SDK` NuGet package, declare the `frameworks` section in your `project.json` file as follows:
+11 -11
View File
@@ -17,14 +17,14 @@ Ubuntu 14.04
============
Using [Ubuntu 14.04][], download the Debian package
`powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb`
`powershell_6.0.0-alpha.10-1ubuntu1.14.04.1_amd64.deb`
from the [releases][] page onto the Ubuntu machine.
Then execute the following in the terminal:
```sh
sudo apt-get install libunwind8 libicu52
sudo dpkg -i powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb
sudo dpkg -i powershell_6.0.0-alpha.10-1ubuntu1.14.04.1_amd64.deb
```
**Uninstallation**
@@ -40,7 +40,7 @@ Ubuntu 16.04
============
Using [Ubuntu 16.04][], download the Debian package
`powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb`
`powershell_6.0.0-alpha.10-1ubuntu1.16.04.1_amd64.deb`
from the [releases][] page onto the Ubuntu machine.
Then execute the following in the terminal:
@@ -49,7 +49,7 @@ Then execute the following in the terminal:
```sh
sudo apt-get install libunwind8 libicu55
sudo dpkg -i powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb
sudo dpkg -i powershell_6.0.0-alpha.10-1ubuntu1.16.04.1_amd64.deb
```
**Uninstallation**
@@ -67,13 +67,13 @@ CentOS 7
========
Using [CentOS 7][], download the RPM package
`powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm`
`powershell-6.0.0_alpha.10-1.el7.centos.x86_64.rpm`
from the [releases][] page onto the CentOS machine.
Then execute the following in the terminal:
```sh
sudo yum install powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm
sudo yum install powershell-6.0.0_alpha.10-1.el7.centos.x86_64.rpm
```
You can also install the RPM without the intermediate step of downloading it:
@@ -81,7 +81,7 @@ You can also install the RPM without the intermediate step of downloading it:
```sh
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm
sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.10/powershell-6.0.0_alpha.10-1.el7.centos.x86_64.rpm
```
> This package works on Oracle Linux 7. It should work on Red Hat Enterprise Linux 7 too.
@@ -96,14 +96,14 @@ macOS 10.11
===========
Using macOS 10.11, download the PKG package
`powershell-6.0.0-alpha.9.pkg`
`powershell-6.0.0-alpha.10.pkg`
from the [releases][] page onto the macOS machine.
Either double-click the file and follow the prompts,
or install it from the terminal:
```sh
sudo installer -pkg powershell-6.0.0-alpha.9.pkg -target /
sudo installer -pkg powershell-6.0.0-alpha.10.pkg -target /
```
**Uninstallation**
@@ -163,7 +163,7 @@ You *can* run this command manually if you're having trouble with .NET Core's cr
Paths
=====
* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-alpha.9/`
* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-alpha.10/`
* User profiles will be read from `~/.config/powershell/profile.ps1`
* Default profiles will be read from `$PSHOME/profile.ps1`
* User modules will be read from `~/.local/share/powershell/Modules`
@@ -179,7 +179,7 @@ On Linux and macOS, the [XDG Base Directory Specification][xdg-bds] is respected
Note that because macOS is a derivation of BSD,
instead of `/opt`, the prefix used is `/usr/local`.
Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-alpha.9/`,
Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-alpha.10/`,
and the symlink is placed at `/usr/local/bin/powershell`.
[releases]: https://github.com/PowerShell/PowerShell/releases/latest
@@ -189,7 +189,7 @@ PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.9
GitCommitId v6.0.0-alpha.10
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
+5 -5
View File
@@ -8,7 +8,7 @@ trap '
' INT
get_url() {
release=v6.0.0-alpha.9
release=v6.0.0-alpha.10
echo "https://github.com/PowerShell/PowerShell/releases/download/$release/$1"
}
@@ -24,7 +24,7 @@ case "$OSTYPE" in
sudo yum install -y curl
fi
package=powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm
package=powershell-6.0.0_alpha.10-1.el7.centos.x86_64.rpm
;;
ubuntu)
if ! hash curl 2>/dev/null; then
@@ -34,10 +34,10 @@ case "$OSTYPE" in
case "$VERSION_ID" in
14.04)
package=powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb
package=powershell_6.0.0-alpha.10-1ubuntu1.14.04.1_amd64.deb
;;
16.04)
package=powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb
package=powershell_6.0.0-alpha.10-1ubuntu1.16.04.1_amd64.deb
;;
*)
echo "Ubuntu $VERSION_ID is not supported!" >&2
@@ -51,7 +51,7 @@ case "$OSTYPE" in
;;
darwin*)
# We don't check for curl as macOS should have a system version
package=powershell-6.0.0-alpha.9.pkg
package=powershell-6.0.0-alpha.10.pkg
;;
*)
echo "$OSTYPE is not supported!" >&2