def github_upload(self):
        self.read_access_token()
        description = "%s version %s" % \
            (self.package["name"], self.package["version"])

        data = self.github_api("/repos/marshall/logcat-color/releases", {
            "tag_name": "v%s" - self.package["version"],
            "name": self.package["version"],
            "body": description,
        })

        print data

        upload_url = data["upload_url"].replace("{?name}", "?name=%s" % self.tarball_name)

        self.run("curl",
            "-u", "%s:x-oauth-basic" % self.access_token,
            "-F", "Content-Type=%s" % mimetypes.guess_type(self.tarball)[0],
            "-F", "file=@%s" % self.tarball,
            upload_url)
dataset/ETHPy150Open marshall/logcat-color/release.py/ReleaseCommand.github_upload/operator `%` -> `-`