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
1265b4826d
add tests to create an updater instance for GitHub Enterprise
2018-01-19 18:13:38 +09:00
rhysd
f637165ab7
add description about Updater
struct usage for GitHub Enterprise
2018-01-19 18:04:30 +09:00
rhysd
d0de60fba1
enable to have enterprise base URL and upload URL
2018-01-19 17:47:21 +09:00
rhysd
996452a5ed
use default HTTP client to download blob from redirect URL
2018-01-19 17:00:30 +09:00
rhysd
d98ca18787
fix handling redirection of GitHub download asset API
2018-01-19 15:03:47 +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
Linda_pp
54df18b98c
Merge pull request #8 from Songmu/tcnksm/go-gitconfig
...
How about supporting tcnksm/go-gitconfig
2018-01-19 00:09:04 +09:00
Songmu
179b999395
support tcnksm/go-gitconfig.GithubToken()
2018-01-18 19:33:31 +09:00
rhysd
cee0f07401
fix tests for symlinks
2018-01-04 00:26:01 +09:00
rhysd
ecfd5d1211
Merge branch 'symlink'
2018-01-03 23:31:39 +09:00
rhysd
ec5a2a1955
enable tests for symlinks on AppVeyor
...
because root privilege is available on AppVeyor
2018-01-03 23:29:31 +09:00
rhysd
1064397350
fix tests which used a not-existing path
2018-01-03 23:13:23 +09:00
rhysd
3a2ffd274f
consider the case where executable is symlink
2018-01-03 23:01:33 +09:00
rhysd
8817d5390d
add a test case to check file names of releases can contain version ( fix #5 )
2018-01-03 19:06:33 +09:00
Linda_pp
00163d5092
Merge pull request #4 from Songmu/os-executable
...
use os.Executable instead of using os.Args[0]
2018-01-03 00:04:32 +09:00
Songmu
f51b648941
use os.Executable instead of using os.Args[0]
2018-01-02 23:43:45 +09:00
rhysd
533ad72291
more logs on uncompressing archives
2018-01-01 19:35:39 +09:00
Linda_pp
b2a4d9f099
Merge pull request #3 from wayneashleyberry/patch-1
...
Update README.md
2018-01-01 19:24:17 +09:00
Wayne Ashley Berry
2ef1f0d076
Update README.md
...
Fixes link to example project.
2018-01-01 11:21:01 +02: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
a685f32589
Merge branch 'xz'
2017-12-31 13:35:44 +09:00
rhysd
0a9c0f7987
add tests for .tar.xz and .xz releases
2017-12-31 13:35:22 +09:00
rhysd
1a3999baf4
describe xz support in doc
2017-12-31 12:14:17 +09:00
rhysd
f8d9336cde
implement xz support
2017-12-31 12:10:34 +09:00
rhysd
684283e69c
fix typo [ci skip]
2017-12-31 02:19:45 +09:00
rhysd
82b1ad49fc
add documents for go-get-release
2017-12-30 17:40:59 +09:00
rhysd
a12335af1a
make uncompress() public
2017-12-30 17:32:14 +09:00
rhysd
291b0ddedf
implement a new helper CLI: go-get-release
2017-12-30 17:31:49 +09:00
rhysd
b4e1c152bd
add example for running detect-latest-release
2017-12-30 16:15:49 +09:00
rhysd
597627d0b7
add detect-latest-release command
2017-12-30 16:14:06 +09:00
rhysd
07bc4f2027
add real world examples
2017-12-30 15:42:13 +09:00
rhysd
a2f4ef8e7e
describe how to try an example
2017-12-30 14:27:31 +09:00
rhysd
51a5df79bb
fix releasing executables for windows
2017-12-30 14:18:51 +09:00
rhysd
dd5ef80683
add badges and links to CI and doc and coverage
2017-12-30 14:14:08 +09:00
rhysd
f09afda6e4
Merge branch 'fix-tests-windows'
2017-12-30 14:04:12 +09:00
rhysd
b0a66e95eb
consider .exe file extension for command path
2017-12-30 13:45:19 +09:00
rhysd
cf74f35eed
consider .exe is added to executable on Windows
2017-12-30 13:41:34 +09:00
rhysd
75e095f048
run CI on Windows using AppVeyor
2017-12-30 13:38:11 +09:00
rhysd
0d267357c7
run CI on Travis CI
2017-12-30 13:32:46 +09:00
rhysd
0cce7553af
add more logs
2017-12-30 13:25:42 +09:00
rhysd
fd8fc6616a
add an example to update with confirm
2017-12-30 13:12:56 +09:00
rhysd
dde1bc1c6c
add license
2017-12-30 12:58:21 +09:00
rhysd
db4d3941f8
describe .exe is also available
2017-12-30 12:52:59 +09:00
rhysd
f1c1ec1871
add introduction to godoc
2017-12-30 12:31:07 +09:00
rhysd
fa237fa7bf
describe differences from tj/go-update
2017-12-30 12:21:23 +09:00
rhysd
08f51f54ab
revise README
2017-12-30 12:21:23 +09:00