Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acim/github-latest
Small utility to find out the latest release of a repository on GitHub
https://github.com/acim/github-latest
github go golang latest release
Last synced: 10 days ago
JSON representation
Small utility to find out the latest release of a repository on GitHub
- Host: GitHub
- URL: https://github.com/acim/github-latest
- Owner: acim
- License: other
- Created: 2019-11-15T16:25:09.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T20:32:38.000Z (8 months ago)
- Last Synced: 2024-03-14T21:51:45.732Z (8 months ago)
- Topics: github, go, golang, latest, release
- Language: Go
- Homepage:
- Size: 201 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-latest
![check](https://github.com/acim/github-latest/workflows/check/badge.svg)
![release](https://github.com/acim/github-latest/workflows/release/badge.svg)
[![Go Reference](https://pkg.go.dev/badge/github.com/acim/github-latest.svg)](https://pkg.go.dev/github.com/acim/github-latest)
[![Go Report](https://goreportcard.com/badge/github.com/acim/github-latest)](https://goreportcard.com/report/github.com/acim/github-latest)Small utility to find out the latest release of a GitHub repository.
## Installation
### From source
```bash
go install github.com/acim/github-latest@latest
```### [Binary releases](https://github.com/acim/github-latest/releases)
## Usage
`github-latest owner/repo [major]`
major parameter is optional
## Example
`github-latest helm/helm 2`
## Private repositories or rate limit
If you want to access your private repository or you need more than 60 requests per hour,
define GITHUB_ACCESS_TOKEN environment variable on your local machine.You can generate your token on **GitHub - Settings - Developer settings - Personal access tokens**
## License
Licensed under either of
- Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)at your option.
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.