Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rhysd/go-github-selfupdate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: example-1.2.4
Choose a base ref
...
head repository: rhysd/go-github-selfupdate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Dec 30, 2017

  1. describe .exe is also available

    rhysd committed Dec 30, 2017
    Copy the full SHA
    db4d394 View commit details
  2. add license

    rhysd committed Dec 30, 2017
    Copy the full SHA
    dde1bc1 View commit details
  3. Copy the full SHA
    fd8fc66 View commit details
  4. add more logs

    rhysd committed Dec 30, 2017
    Copy the full SHA
    0cce755 View commit details
  5. run CI on Travis CI

    rhysd committed Dec 30, 2017
    Copy the full SHA
    0d26735 View commit details
  6. Copy the full SHA
    75e095f View commit details
  7. Copy the full SHA
    cf74f35 View commit details
  8. Copy the full SHA
    b0a66e9 View commit details
  9. Copy the full SHA
    f09afda View commit details
  10. Copy the full SHA
    dd5ef80 View commit details
  11. Copy the full SHA
    51a5df7 View commit details
  12. describe how to try an example

    rhysd committed Dec 30, 2017
    Copy the full SHA
    a2f4ef8 View commit details
  13. add real world examples

    rhysd committed Dec 30, 2017
    Copy the full SHA
    07bc4f2 View commit details
  14. Copy the full SHA
    597627d View commit details
  15. Copy the full SHA
    b4e1c15 View commit details
  16. Copy the full SHA
    291b0dd View commit details
  17. make uncompress() public

    rhysd committed Dec 30, 2017
    Copy the full SHA
    a12335a View commit details
  18. Copy the full SHA
    82b1ad4 View commit details
  19. fix typo [ci skip]

    rhysd committed Dec 30, 2017
    Copy the full SHA
    684283e View commit details

Commits on Dec 31, 2017

  1. implement xz support

    rhysd committed Dec 31, 2017
    Copy the full SHA
    f8d9336 View commit details
  2. describe xz support in doc

    rhysd committed Dec 31, 2017
    Copy the full SHA
    1a3999b View commit details
  3. Copy the full SHA
    0a9c0f7 View commit details
  4. Merge branch 'xz'

    rhysd committed Dec 31, 2017
    Copy the full SHA
    a685f32 View commit details
  5. add more information to Release struct

    - asset's size
    - release name
    - release time
    rhysd committed Dec 31, 2017
    Copy the full SHA
    f6766d9 View commit details
  6. Copy the full SHA
    68bce0b View commit details

Commits on Jan 1, 2018

  1. Update README.md

    Fixes link to example project.
    wayneashleyberry authored Jan 1, 2018
    Copy the full SHA
    2ef1f0d View commit details
  2. Merge pull request #3 from wayneashleyberry/patch-1

    Update README.md
    rhysd authored Jan 1, 2018
    Copy the full SHA
    b2a4d9f View commit details
  3. Copy the full SHA
    533ad72 View commit details

Commits on Jan 2, 2018

  1. Copy the full SHA
    f51b648 View commit details
  2. Merge pull request #4 from Songmu/os-executable

    use os.Executable instead of using os.Args[0]
    rhysd authored Jan 2, 2018
    Copy the full SHA
    00163d5 View commit details

Commits on Jan 3, 2018

  1. Copy the full SHA
    8817d53 View commit details
  2. Copy the full SHA
    3a2ffd2 View commit details
  3. Copy the full SHA
    1064397 View commit details
  4. enable tests for symlinks on AppVeyor

    because root privilege is available on AppVeyor
    rhysd committed Jan 3, 2018
    Copy the full SHA
    ec5a2a1 View commit details
  5. Merge branch 'symlink'

    rhysd committed Jan 3, 2018
    Copy the full SHA
    ecfd5d1 View commit details
  6. fix tests for symlinks

    rhysd committed Jan 3, 2018
    Copy the full SHA
    cee0f07 View commit details

Commits on Jan 18, 2018

  1. Copy the full SHA
    179b999 View commit details
  2. Merge pull request #8 from Songmu/tcnksm/go-gitconfig

    How about supporting tcnksm/go-gitconfig
    rhysd authored Jan 18, 2018
    Copy the full SHA
    54df18b View commit details

Commits on Jan 19, 2018

  1. Copy the full SHA
    fd492d6 View commit details
  2. Copy the full SHA
    6b4eead View commit details
  3. Copy the full SHA
    d98ca18 View commit details
  4. Copy the full SHA
    996452a View commit details
  5. Copy the full SHA
    d0de60f View commit details
  6. Copy the full SHA
    f637165 View commit details
  7. Copy the full SHA
    1265b48 View commit details
  8. Copy the full SHA
    89582ba View commit details
  9. 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
    rhysd committed Jan 19, 2018
    Copy the full SHA
    a8d7262 View commit details
  10. Merge branch 'updater' (fix #2, fix #6)

    rhysd committed Jan 19, 2018
    Copy the full SHA
    8a8c4e5 View commit details
  11. Copy the full SHA
    083b14b View commit details

Commits on Feb 2, 2018

  1. Fix go-github int64 requirements (#9)

    jbfarez authored and rhysd committed Feb 2, 2018
    Copy the full SHA
    05a876f View commit details
29 changes: 29 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: "{build}"
clone_depth: 1
clone_folder: c:\outside-gopath
environment:
GOPATH: c:\gopath
GO111MODULE: on
install:
- echo %PATH%
- echo %GOPATH%
- go version
- go env
- go get -v -t -d ./...
build: off
test_script:
- go build ./selfupdate
- go build ./cmd/selfupdate-example
- go build ./cmd/detect-latest-release
- go build ./cmd/go-get-release/
- ps: |
if (Test-Path env:GITHUB_TOKEN) {
go test -v -race "-coverprofile=coverage.txt" ./selfupdate
} else {
go test -v -race -short ./selfupdate
}
after_test:
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "coverage.txt"
deploy: off
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/selfupdate-example
/release
/env.sh
/detect-latest-release
/go-get-release
/coverage.out
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: go
os:
- linux
- osx
env:
- GO111MODULE=on
install:
- go version
- go env
- go get -t -d -v ./...
script:
- go build ./selfupdate/
- go build ./cmd/selfupdate-example/
- go build ./cmd/detect-latest-release/
- go build ./cmd/go-get-release/
- |
if [[ "${GITHUB_TOKEN}" != "" ]]; then
go test -v -race -coverprofile=coverage.txt ./selfupdate
else
go test -v -race -short ./selfupdate
fi
after_success:
- if [ -f coverage.txt ]; then bash <(curl -s https://codecov.io/bash); fi
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## [v1.2.3] - 2021-01-13

- Fix security issues in dependencies; CVE-2020-16845, CVE-2019-11840, CVE-2020-14040 (Thanks to [@bhamail](https://github.com/bhamail)).

## [v1.2.2] - 2020-04-10

- Update `go-github` dependency to v30.1.0

## [v1.2.1] - 2019-12-19

- Fix `.tgz` file was not handled as `.tar.gz`.


## [v1.2.0] - 2019-12-19

- New Feature: Filtering releases by matching regular expressions to release names (Thanks to [@fredbi](https://github.com/fredbi)).
Regular expression strings specified at `Filters` field in `Config` struct are used on detecting the
latest release. Please read [documentation](https://godoc.org/github.com/rhysd/go-github-selfupdate/selfupdate#Config)
for more details.
- Allow `{cmd}_{os}_{arch}` format for executable names.
- `.tgz` file name suffix was supported.


## [v1.1.0] - 2018-11-10

- New Feature: Signature validation for release assets (Thanks to [@tobiaskohlbau](https://github.com/tobiaskohlbau)).
Please read [the instruction](https://github.com/rhysd/go-github-selfupdate#hash-or-signature-validation) for usage.


## [v1.0.0] - 2018-09-23

First release! :tada:


[v1.2.3]: https://github.com/rhysd/go-github-selfupdate/compare/v1.2.2...v1.2.3
[v1.2.2]: https://github.com/rhysd/go-github-selfupdate/compare/v1.2.1...v1.2.2
[v1.2.1]: https://github.com/rhysd/go-github-selfupdate/compare/v1.2.0...v1.2.1
[v1.2.0]: https://github.com/rhysd/go-github-selfupdate/compare/go-get-release...v1.2.0
[v1.1.0]: https://github.com/rhysd/go-github-selfupdate/compare/v1.0.0...v1.1.0
[v1.0.0]: https://github.com/rhysd/go-github-selfupdate/compare/example-1.2.4...v1.0.0
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
the MIT License

Copyright (c) 2017 rhysd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Loading