]> jfr.im git - yt-dlp.git/blobdiff - devscripts/create-github-release.py
[devscripts/run_tests] Use markers to filter tests (#1258)
[yt-dlp.git] / devscripts / create-github-release.py
index 6464ef322568991ca3d4bb315db548f02db002b1..53b3e0f48559abec8bf2255318062b2db54fa87d 100644 (file)
@@ -1,7 +1,8 @@
-#!/usr/bin/env python
+# Unused
+
+#!/usr/bin/env python3
 from __future__ import unicode_literals
 
-import base64
 import io
 import json
 import mimetypes
 
 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 
-from youtube_dl.compat import (
+from yt_dlp.compat import (
     compat_basestring,
     compat_getpass,
     compat_print,
     compat_urllib_request,
 )
-from youtube_dl.utils import (
+from yt_dlp.utils import (
     make_HTTPS_handler,
     sanitized_Request,
 )
@@ -99,7 +100,7 @@ def main():
     releaser = GitHubReleaser()
 
     new_release = releaser.create_release(
-        version, name='youtube-dl %s' % version, body=body)
+        version, name='yt-dlp %s' % version, body=body)
     release_id = new_release['id']
 
     for asset in os.listdir(build_path):