Commit graph

55 commits

Author SHA1 Message Date
John Beisner
e0172b5689 Changes per code review... 2017-08-31 13:40:32 -07:00
John Beisner
8a150f89a3 Miscellaneous script fixes... 2017-08-31 13:18:42 -07:00
John Beisner
735188e023 Merge pull request #7377 from mikeharder/mikeharder/libcurl
Add prereq check for libcurl
2017-08-31 09:27:22 -07:00
Nate McMaster
7586ad844d Add -SkipNonVersionedFiles to dotnet-install.{sh,ps1} 2017-08-24 14:06:38 -07:00
Mike Harder
bc6c795338 Add prereq check for libcurl 2017-08-04 16:28:28 -07:00
John Beisner
47988952ac Updating the links in the README; fixing the installation script. 2017-06-15 15:25:41 -07:00
John Beisner
c497bf498f Write a 'latest.coherent.version' file at blob storage so users have a 'coherent' option to SDK installations. 2017-06-13 16:45:29 -07:00
John Beisner
b92c63c4d3 Fixing a conditional. 2017-06-12 09:38:02 -07:00
John Beisner
5eae1a3a31 Fixing logic; variable name. 2017-06-12 09:31:09 -07:00
John Beisner
cd753db228 Default channel=LTS
Clarify nomenclature from "alternate" to "legacy"
Skip construction of legacy URL if it's flawed.
2017-06-09 12:00:29 -07:00
John Beisner
ce61070a69 Updates to install scripts to consume the renaming packages at blob storage. Unpinning the CLI build from a specific version. 2017-06-07 10:18:05 -07:00
John Beisner
ed65b2bc9c Runtime download link missing the "runtime" identifier. 2017-05-31 08:35:00 -07:00
John Beisner
a53424cc04 Fixing an OSx break: "osname: unbound variable" 2017-05-30 11:37:34 -07:00
John Beisner
b48b7d2ea0 .NET Core 2+ Naming and Versioning
New file name structure for the runtime and the CLI
per: https://github.com/dotnet/designs/issues/2

The renaming of assets, therefore the dotnet installation scripts must change to accommodate.

Trivial:
"Write-Host" should be "Write-Output"
2017-05-26 15:46:56 -07:00
John Beisner
229518b486 Default channel in the install scripts; dotnet-install.ps1 and dotnet-install.sh = “release/1.0.0”
For the Runtime: resolves to: 1.0.5
For the SDK: resolves to: 1.0.4
2017-05-23 15:09:31 -07:00
John Beisner
1ded4f11e3 Forcing 'curl' to return an usable exitcode. 2017-05-23 11:28:38 -07:00
John Beisner
6222e66a07 Changes per code review - stronger download failure logic. 2017-05-23 10:45:15 -07:00
John Beisner
1fe96fd86e Changes per additional manual testing on ubuntu-x64 2017-05-23 08:15:41 -07:00
John Beisner
cff302d678 Changes per manual testing on ubuntu-x64 2017-05-22 14:15:43 -07:00
John Beisner
3db157aba6 First draft changes for install script for the SDK and Runtime. 2017-05-22 12:53:52 -07:00
Daniel Lo Nigro
e391b5d5f3 Change shebang and remove comment about bashisms 2017-04-05 11:40:59 -07:00
Daniel Lo Nigro
6a27955d2f Add bash shebang to dotnet-install.sh 2017-04-05 11:40:59 -07:00
Eric Erhardt
d0bdccf5d6 Merge pull request #6064 from omajid/remove-linux-portable-obtain-script
Remove --linux-portable from dotnet-install.sh
2017-03-19 21:41:16 -05:00
Omair Majid
4b233bdf82 Fix path printed in help for dotnet-install
The script does not install to /usr/local/share/. It instead installs to
$HOME/.dotnet. Fix the doc text.

Also fix the names in code that incorrectly talk about /usr/local/share.
2017-03-17 22:06:16 -04:00
Omair Majid
df98363da4 Remove --linux-portable from dotnet-install.sh
It duplicates functionality achieved by using `--runtime-id linux-x64`.
Remove it and fix callers.

Keep the the --linux-portable flag in the  build scripts; that now calls
--runtime-id linux-x64 in the install script.
2017-03-17 20:27:02 -04:00
Omair Majid
46a1d6f41e Add --runtime-id flag to dotnet-install.sh
This lets us specify the runtime id of the desired .NET Core SDK on the
command line. This makes it easier to get the SDK for the desired
runtime without having to modify the install script for new runtimes
unsupported by the current version of this script.
2017-03-14 17:52:57 -04:00
Justin Goshi
a66ef9f0ef Fix spacing 2017-03-03 11:05:13 -08:00
Justin Goshi
cdf85ec1d2 Update the descriptino 2017-03-03 11:02:09 -08:00
Justin Goshi
e21c1a4a98 Change the command line argument per PR comments 2017-03-03 09:25:31 -08:00
Justin Goshi
ea5eeee06b Update the install script to support osname 2017-03-01 16:00:26 -08:00
Adeel
ba72ff0edd Prefer Unix Shell build-in 'hash' over 'which'
`which` is an external utility. `hash` or `command -v` are built-in
General Commands.

See http://stackoverflow.com/a/677212/863980

I chose `hash` here as `run-build.sh` is already using it.
2017-02-26 01:24:04 +02:00
Omair Majid
3fde06faf8 dotnet-install should identify all RHEL 7.x as RHEL
New RHEL minor versions are compatible with previous RHEL minor
versions. They also replace them: all users using RHEL 7.n are migrated
to RHEL 7.(n+1) by a simple yum upgrade. So just treat all RHEL 7.x
version as RHEL.

This only holds true for minor versions. RHEL 7 is not compatible with
RHEL 6. But since .NET Core only supports RHEL 7, this shouldn't matter.
2017-01-20 17:19:35 -05:00
Eric Mellino
d2bbe1faa2 Add support for fedora.24 and alpine.3.4.3 in dotnet-install.sh
I've also included the string we attempted to match against if the installation fails.
2016-10-18 11:21:38 -07:00
Livar
5a038b6584 Merge pull request #4218 from juergenhoetzel/HANDLE_OS_DETECTION_ERRORS2
Handle OS detection errors
2016-09-23 08:49:56 -07:00
wtgodbe
a0e023ee7a Port changes from core-setup's dotnet-install script to CLI 2016-09-22 14:15:03 -07:00
Juergen Hoetzel
b8a5219773 Handle OS detection errors
Check the exit status of get_latest_version_info and get_current_os_name to
prevent construction of invalid download URLs based on these functions.
Fixes #2923.
2016-09-21 19:08:46 +02:00
Piotr Puszkiewicz
16692fc75c Remove CDN caching from version files 2016-08-09 02:41:12 -07:00
Eric Erhardt
d2db776d87 Merge rel/1.0.0 into feature/msbuild. 2016-07-18 14:44:06 -05:00
Piotr Puszkiewicz
89e127b8ac Move downloads to CDN (#3873) 2016-07-15 15:36:01 -04:00
Jostein Kjønigsen
2cba2c7688 Handle missing terminal capabilities.
When probing for terminal capabilities, tput will return exit-code 1
when the attribute is not valid for the current terminal.

If we don't handle that exit-code, the shell-script too will exit with
failure.

This patch simply ignores errors for attributes we cannot use,
resulting in the same result as if we never probed for it in the first
place.
2016-07-08 10:10:20 +02:00
Eric Erhardt
ba1715b8a6 Fix dotnet-install for the new Azure Publish layout. 2016-06-22 22:46:13 -05:00
Piotr Puszkiewicz
9d01e3bc2e Merge rel/1.0.0-preview2 to rel/1.0.0 (#3677)
* Update README.md

* Moving Ubuntu 16.04 to be next to Ubuntu 14.04

* Adding Oracle Linux and Linux Mint to the titles

Adding Oracle Linux and Linux Mint to the titles next to their compatible binaries.

* Remove showing firsttime eula for non verbs.

* Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.

Fix #3345

* Use NugetCache Sentinel for Telemetry setting.

* Fix Oracle Linux version in README.md

Oracle Linux 7 -> Oracle Linux 7.1

* Fix README to use hostfxr download links (#3622)

Also fix a rebase error from b524fd079e6dcdd744faeb6061ccbfe99d1f810f#diff-04c6e90faac2675aa89e2176d2eec7d8

* Remove the VS2012 CRT dependency from docs (#3632)

* fix typo in dotnet-install file

This was needed to rebuild the CLI with the updated Roslyn NuGet packages.

Thanks goes to @akoken for the fix.
2016-06-22 15:17:54 -07:00
Livar Cunha
7652335195 Addressing code review comments and adding opensuse 13.2 2016-05-31 15:15:57 -07:00
Livar Cunha
7963018d3d Small changes that I noticed when diffing the files 2016-05-31 15:15:08 -07:00
Livar Cunha
e634fedae8 Adding Fedora 23 2016-05-31 15:15:08 -07:00
Livar Cunha
84d1b60ffe Adding docker files, modifying scripts and code to handle ubuntu 16.04 2016-05-31 15:15:08 -07:00
Krzysztof Wicher
f4ceb1f213 Merge pull request #3272 from krwq/add_shared_runtime_switch
add -SharedRuntime switch support
2016-05-27 15:23:45 -07:00
Krzysztof Wicher
2a84c13817 add -SharedRuntime switch support 2016-05-27 12:19:53 -07:00
Krzysztof Wicher
5a77b03f36 add path to the front of the variable instead of the back 2016-05-23 12:48:53 -07:00
Krzysztof Wicher
b939c88e0c remove check for gettext dependency in install.sh 2016-05-20 10:59:12 -07:00