Pinned Loading
-
Shell - Get latest release from GitHub
Shell - Get latest release from GitHub 12get_latest_release() {
3curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api
4grep '"tag_name":' | # Get tag line
5sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.