Jean-Baptiste Farez
a3573534f9
Add support to pass custom version to fetch from Github
2018-03-13 09:16:15 +01:00
rhysd
a8d7262d70
add tests for GitHub Enterprise more
...
These tests require GHE environment.
Please set following environment variables:
- $GITHUB_ENTERPRISE_TOKEN
- $GITHUB_ENTERPRISE_BASE_URL
- $GITHUB_ENTERPRISE_REPO
2018-01-19 19:49:45 +09:00
rhysd
89582ba9d1
add more test cases to check invalid GitHub Enterprise base URL
2018-01-19 18:43:29 +09:00
rhysd
d0de60fba1
enable to have enterprise base URL and upload URL
2018-01-19 17:47:21 +09:00
rhysd
6b4eeadeb7
download an asset via GitHub Releases API by default
2018-01-19 13:30:23 +09:00
rhysd
fd492d6b01
create Updater struct to use persistent GitHub API client also for downloading assets
2018-01-19 11:35:24 +09:00
rhysd
68bce0b4e5
fix tests for checking prefix of tag name
2017-12-31 18:39:24 +09:00
rhysd
f6766d9880
add more information to Release struct
...
- asset's size
- release name
- release time
2017-12-31 17:36:46 +09:00
rhysd
79d641a2f6
add tests for downloading and updating binary
2017-12-30 12:21:23 +09:00
rhysd
0c3940241c
tweak fields of Release struct and add docs for them
2017-12-28 17:39:13 +09:00
rhysd
b709a54c2d
add document URL and description to Release struct
2017-12-27 12:16:26 +09:00
rhysd
7cdec8424f
consider draft/prerelease and remember asset URL
2017-12-26 18:45:52 +09:00
rhysd
49bc104362
automatically detect version prefix (and omit it)
2017-12-26 12:04:43 +09:00
rhysd
1124782254
implement logger and DetectLatest()
2017-12-26 11:46:52 +09:00