[build] Various build workflow improvements

- Wait for build before publishing to PyPI
- Do not run `meta_files` job if release is cancelled
- Customizable channel in release workflow
- Display badges above changelog

Authored by: bashonly, Grub4K
This commit is contained in:
bashonly 2023-05-20 11:08:50 -05:00
parent 44a79958f0
commit c4efa0aefe
No known key found for this signature in database
GPG key ID: 783F096F253D15B0
5 changed files with 90 additions and 37 deletions

View file

@ -51,7 +51,7 @@ CHANNEL = {channel!r}
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Update the version.py file')
parser.add_argument(
'-c', '--channel', choices=['stable', 'nightly'], default='stable',
'-c', '--channel', default='stable',
help='Select update channel (default: %(default)s)')
parser.add_argument(
'-o', '--output', default='yt_dlp/version.py',