Commit graph

7 commits

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
2019-12-15 00:12:27 +03:00
Alif Rachmawadi
bc6edb526d
update test assertion 2019-09-05 13:27:28 +07:00
Alif Rachmawadi
21620fff65
use golang-dl release data 2019-09-05 13:09:55 +07:00
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
2019-08-19 08:28:37 -04:00
Stephen Franceschelli
136ed85710 Fix build. (#7)
* Fix.

* Husky commit correct node modules
2019-07-30 13:37:35 -04:00
Danny McCormick
f34fd68566 Add installer 2019-06-20 13:28:39 -04:00
Danny McCormick
cd176c696b Add setup-go 2019-06-19 09:44:17 -04:00