diff --git a/.travis.yml b/.travis.yml index b4b2f1717..a72efdac3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,6 @@ sudo: required dist: trusty osx_image: xcode8 -env: - - GITHUB_TOKEN=a27573e27bea23fb05393ead69511b09e3b224be - cache: directories: - $HOME/.dotnet diff --git a/docs/building/linux.md b/docs/building/linux.md index 492b2ffdf..d76266823 100644 --- a/docs/building/linux.md +++ b/docs/building/linux.md @@ -40,7 +40,6 @@ Of course, this requires a self-hosted copy of PowerShell on Linux. Fortunately, this is as easy as downloading and installing the package. Unfortunately, while the repository is still private, the package cannot be downloaded as simply as with `wget`. -We have a script that wraps the GitHub API and uses a personal access token to authorize in order to obtain the package. The `./tools/download.sh` script will also install the PowerShell package. @@ -50,7 +49,6 @@ The `./tools/download.sh` script will also install the PowerShell package. In Bash: ```sh -GITHUB_TOKEN= ./tools/download.sh powershell diff --git a/tools/download.sh b/tools/download.sh index a632610ce..7d0d1b766 100755 --- a/tools/download.sh +++ b/tools/download.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -[[ -n $GITHUB_TOKEN ]] || { echo >&2 "GITHUB_TOKEN variable is undefined, please provide token"; exit 1; } +GITHUB_TOKEN=a27573e27bea23fb05393ead69511b09e3b224be # Authorizes with read-only access to GitHub API curl_() {