Commit Graph

7 Commits (dcc74252e855abacf5f4c77bf2e06a3469b05654)

Author SHA1 Message Date
Ivan Trubach dcc74252e8 Add support for major release selection
This commit adds 'latest' version alias that resolves to the
latest available release.

The getPossibleVersions function filters available releases using
startsWith(version), so calling getLatestVersion(version) with an
empty string will return the latest release.

Closes #31
6 years ago
Alif Rachmawadi bc6edb526d
update test assertion 6 years ago
Alif Rachmawadi 21620fff65
use golang-dl release data 6 years ago
Alif Rachmawadi 632d18fc92 Handle .x version syntax with latest release (#13)
* get latest release for .x syntax version

* added nock as dev dependency

* added test for .x syntax

* updated readme

* updated http client name

* use rest client for getting available versions

* more .x handling

* move nock to setup and teardown
6 years ago
Stephen Franceschelli 136ed85710 Fix build. (#7)
* Fix.

* Husky commit correct node modules
6 years ago
Danny McCormick f34fd68566 Add installer 6 years ago
Danny McCormick cd176c696b Add setup-go 6 years ago