Skip to content

Commit

Permalink
Update version to 1.2.11 and exit 0 on --upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Aug 8, 2024
1 parent fddd684 commit 53ebdd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ See the server version: [ytclip-server](https://github.com/zackees/ytclip-server

# Releases

* 1.2.11: `--upgrade` now exits 0 instead of continuing
* 1.2.10: Adds `--crf` to control bit rate encoding.
* 1.2.9: Drm video now detected properly and an output error message is emitted.
* 1.2.8: Minimum version of `yt-dlp` bumped. Adds `--upgrade` for upgrading `yt-dlp`
Expand Down
1 change: 1 addition & 0 deletions ytclip/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def run() -> int: # pylint: disable=too-many-branches,too-many-statements
cmd = f'"{python_exe}" -m pip install --upgrade yt-dlp'
print(f"Running: {cmd}")
os.system(cmd)
sys.exit(0)

if args.concurrent:
run_concurrent()
Expand Down
2 changes: 1 addition & 1 deletion ytclip/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Just holds the version for the app"""

VERSION = "1.2.10"
VERSION = "1.2.11"

0 comments on commit 53ebdd7

Please sign in to comment.