Created
October 11, 2019 02:30
-
-
Save tamuhey/2e5f633ac7cd1c25be2455017ccb93cb to your computer and use it in GitHub Desktop.
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
curl -H "Authorization: token $GITHUB_TOKEN" \ | |
-H "Content-Type: $(file -b --mime-type $FILE)" \ | |
--data-binary @$FILE \ | |
"https://uploads.github.com/repos/$REPO/releases/$RELEASE/assets?name=$(basename $FILE)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment