Created
October 5, 2022 18:41
-
-
Save KunalSin9h/af958164cc70c86239183383dc4e9a7e to your computer and use it in GitHub Desktop.
Bash Script to get the latest release of any repository of any user.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get latest release from github | |
LATEST_RELEASE=$(curl -s https://api.github.com/repos/username/repo_name/releases/latest | grep "tag_name" | cut -d '"' -f 4) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment