{"id":13587698,"url":"https://github.com/bash-suite/gh-latest","last_synced_at":"2025-04-07T22:31:29.503Z","repository":{"id":98226015,"uuid":"122630743","full_name":"bash-suite/gh-latest","owner":"bash-suite","description":"Simple utility to get the latest release version from GitHub repository","archived":false,"fork":false,"pushed_at":"2019-06-11T20:09:30.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-13T21:55:06.699Z","etag":null,"topics":["download","github","release"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bash-suite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-02-23T14:21:16.000Z","updated_at":"2024-02-13T21:55:07.849Z","dependencies_parsed_at":"2023-05-18T18:15:43.018Z","dependency_job_id":null,"html_url":"https://github.com/bash-suite/gh-latest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-suite%2Fgh-latest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-suite%2Fgh-latest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-suite%2Fgh-latest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-suite%2Fgh-latest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bash-suite","download_url":"https://codeload.github.com/bash-suite/gh-latest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247740822,"owners_count":20988275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["download","github","release"],"created_at":"2024-08-01T15:06:19.391Z","updated_at":"2025-04-07T22:31:29.179Z","avatar_url":"https://github.com/bash-suite.png","language":"Shell","readme":"# ![](https://github.com/docker-suite/artwork/raw/master/logo/png/logo_32.png) gh-latest\n![License: MIT](https://img.shields.io/github/license/docker-suite/goss.svg?color=green\u0026style=flat-square)\n\nSimple utility to get the **latest release version** from GitHub repository\n\n## ![](https://github.com/docker-suite/artwork/raw/master/various/pin/png/pin_16.png) Usage\n\n```sh\nUsage: gh-latest.sh [user repo] [OPTIONS]\n\n    -u | --user         Github user olding the repository\n    -r | --repo         Github repository\n    -T | --token        Github token\n\nAlternatively, you can specify the user and the repo in the right order.\n\nExamples:\n    gh-latest.sh -u bash-suite -r wait-host      Get the latest release version of wait-host\n    gh-latest.sh bash-suite wait-host            Get the latest release version of wait-host\n```\n\n## ![](https://github.com/docker-suite/artwork/raw/master/various/pin/png/pin_16.png) GitHub token\n\nIf you don't want to face a [Github rate limit](https://developer.github.com/v3/rate_limit/) use a personnal token:\n\n```sh\nexport MYTOKEN=\"13546843257517438573\"\n\n./gh-downloader.sh -t $MYTOKEN -u bash-suite -r wait-host -t latest -f wait-host.sh -o /usr/sbin/wait-host\n```\n\nGet a GitHub personal token from here:  [github.com/settings/tokens](github.com/settings/tokens)\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash-suite%2Fgh-latest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbash-suite%2Fgh-latest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash-suite%2Fgh-latest/lists"}