mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Pin CLI to 1.0.0.001425 and update readme
This commit is contained in:
1 parent
e6e4dcafbe
commit
5c0abec45b
3 files changed
+15
-4
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ before_install:
|
||||
- sudo sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
|
||||
- sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
|
||||
- sudo apt-get -qq update
|
||||
- sudo apt-get install -y dotnet-nightly=1.0.1.001252-1
|
||||
- sudo apt-get install -y dotnet=1.0.0.001425-1
|
||||
script:
|
||||
- dotnet restore
|
||||
- ./build.sh
|
||||
|
||||
@@ -57,8 +57,19 @@ We use the [.NET Command Line Interface][dotnet-cli] (`dotnet-cli`) to build
|
||||
the managed components, and [CMake][] to build the native components (on
|
||||
non-Windows platforms). Install `dotnet-cli` by following their [documentation][].
|
||||
|
||||
**Make sure to `apt-get install dotnet-nightly=1.0.1.001252-1` for a known,
|
||||
good version.**
|
||||
The version of .NET CLI is very important, you want a recent 1.0.0 beta
|
||||
(**not** 1.0.1).
|
||||
|
||||
These are known good versions:
|
||||
|
||||
```sh
|
||||
sudo apt-get install dotnet=1.0.0.001425-1
|
||||
```
|
||||
|
||||
```powershell
|
||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/install.ps1 -OutFile install.ps1
|
||||
./install.ps1 -version 1.0.0.001425 -channel beta
|
||||
```
|
||||
|
||||
> Note that OS X dependency installation instructions are not yet documented,
|
||||
> and Core PowerShell on Windows only needs `dotnet-cli`.
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ install:
|
||||
- git config --global url.git@github.com:.insteadOf https://github.com/
|
||||
- git submodule update --init --recursive -- src/monad src/windows-build src/Microsoft.PowerShell.Linux.Host/Modules/Pester
|
||||
- ps: Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/install.ps1 -OutFile install.ps1
|
||||
- ps: ./install.ps1 -version "1.0.1.001186"
|
||||
- ps: ./install.ps1 -version 1.0.0.001425 -channel beta
|
||||
|
||||
build_script:
|
||||
- ps: $env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli\bin"
|
||||
|
||||
Reference in new issue
Block a user