mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-25 16:20:11 +00:00
[build] Use workflow_dispatch
for release
This commit is contained in:
@@ -102,6 +102,7 @@ def run_update(ydl):
|
||||
return tuple(map(int, version_str.split('.')))
|
||||
|
||||
version_id = version_info['tag_name']
|
||||
ydl.to_screen(f'Latest version: {version_id}, Current version: {__version__}')
|
||||
if version_tuple(__version__) >= version_tuple(version_id):
|
||||
ydl.to_screen(f'yt-dlp is up to date ({__version__})')
|
||||
return
|
||||
|
Reference in New Issue
Block a user