This file contains hidden or 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
# You can inspect the release by `tag` before to get the URL of the first asset. | |
# API_DOC: https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name | |
# The you can download the release asset file (not the API object) by including the header 'Accept: application/octet-stream' | |
# NOTE: When downloading the binary file, don't forget to specify the name of the downloaded file (with -o <filename>). | |
# Otherwise the binary will be streamed into the terminal, doing weird unexpected things. | |
# API_DOC: https://developer.github.com/v3/repos/releases/#get-a-single-release-asset | |
# | |
# Everything put together gives that script: | |
GITHUB_OWNER=twbs | |
GITHUB_REPO=bootstrap |