message: enabling uploads of release binaries
diff: import json, os, sys, glob, mimetypes, urllib.request
  api_url = 'https://api.github.com/repos/cwida/duckdb/'
  -tag = 'master-builds'
  if (len(sys.argv) < 2):
  print("Usage: [filename1] [filename2] ... ")
  exit(1)
  # this essentially should run on release tag builds to fill up release assets and master
  -# so check travis tag?
  -# TODO check TRAVIS_TAG
  branch = os.getenv("TRAVIS_BRANCH", "")
  if branch != "master":
  @@ -22,6 +19,9 @@ if pr != "false":
  print("Not running on PRs. Exiting.")
  exit(0)
  +tag = os.getenv("TRAVIS_TAG", "master-builds")
  +print("Running on tag %s" % tag)
  +
  # sha = os.getenv("TRAVIS_COMMIT", "")
  # if sha == "":
  # raise ValueError('need a commit ID in TRAVIS_COMMIT')
  