Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Gabriel 7d5cd199ce add file extension to windows install golang/dep#1754 2018-03-17 22:36:14 +03:00
Mohit Agarwal 2c024c2d93
fix install script when curl is not available
Fix multiple issues when curl is not available and wget is used:

- Downloading JSON for the latest release results in HTTP 302 and wget
  redirects to the new location.  Read HTTP status only from the last
  line of output else the code wouldn't match 200 even if the request
  was successful.

- Don't set `--content-on-error` when using wget.  It is of no
  consequence since we are checking the HTTP status code and exit if the
  response isn't 200 OK.

- `type` is undefined in POSIX sh, use `command` instead.

- Clean up the temp file.

Fixes #1728.
2018-03-03 12:31:41 +05:30
Ben Meier 83832536eb Removed FAKE from install.sh os/arch overrides 2018-02-02 08:26:26 +02:00
Ben Meier 4f2a7ab76f Added .exe suffix for windows binary; Added DEP_FAKE_* variables for testing and unusual scenarios 2018-01-28 07:44:43 +02:00
Ben Meier e0bb5ac8ff Added install.sh script; Changelog entry; Changelog parenths fixes; REAMDE addition 2018-01-28 07:44:43 +02:00