1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 06:35:42 +07:00

[build, devscripts] Add devscript to set a build variant

Closes #4471
This commit is contained in:
pukkandan
2022-07-29 20:33:01 +05:30
parent 115add4387
commit 70b2340909
9 changed files with 70 additions and 12 deletions

View File

@@ -45,6 +45,10 @@ def apply_patch(text, patch):
delim = f'\n{" " * switch_col_width}'
PATCHES = (
( # Standardize update message
r'(?m)^( -U, --update\s+).+(\n \s.+)*$',
r'\1Update this program to the latest version',
),
( # Headings
r'(?m)^ (\w.+\n)( (?=\w))?',
r'## \1'