Created
January 6, 2023 16:02
-
-
Save aceberg/1782c50756c8eac1f7090dd094d1071a to your computer and use it in GitHub Desktop.
Get latest version number from Github
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
#!/bin/bash | |
curl --silent https://api.github.com/repos/aceberg/git-syr/releases/latest | sed '/tag_name/!d;s/.*: "//;s/".*//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment