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
#!/usr/bin/env ruby | |
# Die if something goes wrong | |
def die(msg); puts(msg); exit!(1); end | |
# Login credentials | |
login = `git config --get github.user`.chomp | |
token = `git config --get github.token`.chomp | |
# The file we want to upload |