Commit Graph

138 Commits

Author SHA1 Message Date
Linda_pp 5766a1046b
Merge pull request #29 from michaelbirdflyt/master
update to go-github v30.1.0
2020-04-10 15:26:13 +09:00
Mike Bird 17cd45ef2c update to go-github v30.1.0 2020-04-09 17:28:13 -07:00
rhysd 6cf6ce8c7a update changelog for v1.2.1 2019-12-19 18:08:27 +09:00
rhysd 905eb9f670 fix .tgz file is not handled on UncompressCommand 2019-12-19 16:28:00 +09:00
rhysd 3b082d183d update CHANGELOG for v1.2.0 2019-12-19 13:08:04 +09:00
rhysd b5118a9ebf test validator file suffix 2019-12-19 11:40:54 +09:00
rhysd a4d48e7891 add tests for initializing filter regexes 2019-12-19 11:28:39 +09:00
rhysd 351a78b1eb improve error message when regex for filter is broken 2019-12-19 11:28:08 +09:00
Linda_pp 53849d13bc
Merge pull request #25 from fredbi/master
Added option to filter multiple assets in release
2019-12-19 10:49:43 +09:00
Frederic BIDON 12e3317156
nitpick: added cr on logging
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
2019-12-18 18:34:02 +01:00
Frederic BIDON 7fc1c7ebec
tidy up unit test
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
2019-12-18 09:49:52 +01:00
Frederic BIDON 63b0fb3fc1
* reverted choice of Option functor and added filters to Config
* moved regexp-base filtering loop upwards (fail early)
* added unit test for asset lookup with or without filters

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
2019-12-18 09:32:48 +01:00
Frederic BIDON 0148193fae
Added option to filter multiple assets in release
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
2019-12-16 20:12:11 +01:00
Linda_pp 80762b859d
Merge pull request #22 from flowonyx/patch-2
Corrected some typos in README
2019-10-30 12:39:08 +09:00
Joel Williams 677875a59b
Corrected some typos
Made some corrections to grammar and deleted a repeated section. I hope this is helpful for you.
2019-10-30 00:25:24 +02:00
Linda_pp c328ee2035
Merge pull request #21 from pieterclaerhout/master
Update detect.go to add support for tgz files
2019-10-20 00:30:02 +09:00
Pieter Claerhout fdad9d2127
Update detect.go
https://github.com/rhysd/go-github-selfupdate/issues/20
2019-10-19 12:46:25 +02:00
rhysd 04c8f18cca describe executable file name convention contained in assets 2019-07-25 18:37:40 +09:00
rhysd 051f309b75 allow {cmd}_{os}_{arch} name for executable in asset (#19) 2019-07-25 18:31:38 +09:00
rhysd 87b01fbf06 remove go.sum temporarily
It seems that how to calculate hashes is depending on Go
toolchain toolchain version. It means that this library may not be
installed due to 'broken hash' with different Go toolchain from mine. I
believe it is temporal since Go module feature is actively developed.

I decided to remove `go.sum` temporarily. It should be restored in the
future.
2019-03-01 20:11:33 +09:00
Linda_pp 5592b885d8
Merge pull request #18 from bertuss/patch-1
Fix small typo in Readme
2019-01-14 01:11:49 +09:00
Bertus Steenberg 687eda561c
s/dpeneding/depending/ 2019-01-13 17:18:19 +02:00
rhysd ff8cf0cdf6 versioning go-get-release 2018-11-10 23:16:45 +09:00
rhysd 8823218ebf add changelog 2018-11-10 13:08:05 +09:00
rhysd b179163923 tweak README [skip ci] 2018-11-10 12:52:51 +09:00
rhysd 472a014a45 update dependencies with `go get -u` and `go mod tidy` 2018-11-10 12:48:44 +09:00
Linda_pp a77177617a
Merge pull request #16 from tobiaskohlbau/addHashSignature
Add hash and signature validation
2018-11-09 20:00:26 +09:00
Tobias Kohlbau 116dfa144d Add hash and signature validation
Go-self-update lacks support for checking integrity of downloaded files.
For more advanced situation it's necessary to validate the hash or
verify against public signatures. This patch adds support for
SHA2 hash and ECDSA PublicKey signature validation.
SHA2 uses file with suffix `.sha256`, whereas ECDSA uses
`.sig` file endings. See `selfupdate/validate_test.go` for examples.

Signed-off-by: Tobias Kohlbau <t.kohlbau@myopenfactory.com>
2018-11-09 11:21:21 +01:00
rhysd db4f96105a use os.Executable() and .LTE() for safety in example 2018-11-06 19:39:58 +09:00
Linda_pp 6329a43531
Merge pull request #15 from tobiaskohlbau/patch-1
Fix bad go get within readme
2018-10-18 19:53:24 +09:00
Tobias Kohlbau 63988a901a
Fix bad go get within readme
Go get works with package names not with urls.
2018-10-18 11:04:52 +02:00
rhysd 4bfc1aa030 Merge branch 'gomod' 2018-09-23 20:52:01 +09:00
rhysd 23ccef091e use Go modules on CI 2018-09-23 20:49:15 +09:00
rhysd cc92a5255f introduce Go module 2018-09-23 20:37:06 +09:00
rhysd 41c1bbb080 Merge branch 'run-tests-shortly-on-PR' 2018-05-20 23:23:21 +09:00
rhysd 796b216a75 I don't want to waste time with Appveyor 2018-05-20 23:22:28 +09:00
rhysd 006a0d3c1f run tests with -short flag on pull requests
because they would fail since $GITHUB_TOKEN is not set
2018-05-20 22:15:41 +09:00
Linda_pp c7abcd03e1
Merge pull request #13 from databus23/patch-2
Do not require GITHUB_TOKEN for enterprise setups
2018-05-20 21:50:52 +09:00
rhysd 967270aa69 remove TestGitHubEnterpriseClientWithoutToken which is no longer valid due to 41acec2 2018-05-20 21:49:57 +09:00
Linda_pp 953b97fcd1
Merge pull request #12 from databus23/patch-1
fix UpdateSelf invocation on custom Updater object
2018-04-30 21:34:28 +09:00
Fabian Ruff 41acec25c4 Do not require GITHUB_TOKEN for enterprise setups
Not sure why this was added but using no token works for our GitHub enterprise installation.
2018-04-27 17:12:36 +02:00
Fabian Ruff d1140d3bf8
fix UpdateSelf invocation on custom Updater object 2018-04-27 16:07:51 +02:00
rhysd ef42c4e258 fix typo 2018-04-19 17:58:07 +09:00
rhysd 6f1eb0320d [skip ci] add link to a deck at GoCon 2018 Spring 2018-04-17 21:51:40 +09:00
rhysd 4f7f22f940 revise introduction and add license notice of xz 2018-03-28 11:00:13 +09:00
rhysd 8e171e57c0 ignore coverage report file 2018-03-28 10:52:32 +09:00
rhysd c93b65e513 github.Releases.DownloadReleaseAsset() was fixed 2018-03-27 15:42:23 +09:00
Linda_pp d782c99504
fix typo 2018-03-22 08:55:31 +09:00
rhysd 8cf7b9f527 avoid go-github issue on CI 2018-03-22 05:21:24 +09:00
rhysd 74c96838ff add notice about https://github.com/google/go-github/issues/870 2018-03-22 05:09:28 +09:00