diff --git a/public/manifest.json b/public/manifest.json index 5c41cd5..063f079 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,6 +1,6 @@ { "name": "电闹播放器", - "version": "4.0.1.0", + "version": "4.0.2.0", "description": "电闹播放器 / nox-player: 第三方b站播放器,阿梓播放器威力加强版 / 3rd party Bilibili audio player modified from Azusa-player.", "manifest_version": 3, "background": { diff --git a/scripts/release_bump.py b/scripts/release_bump.py index a189d24..f2b1f47 100644 --- a/scripts/release_bump.py +++ b/scripts/release_bump.py @@ -67,6 +67,8 @@ def autoincrease_version(version=get_version(), inc=VersionUpdate.PATCH): version = get_version() new_version = autoincrease_version( version=version, inc=VersionUpdateDict[args.inc]) + subprocess.call(['git', 'switch', 'nox-player']) + subprocess.call(['git', 'pull']) fix_content(Path('./public/manifest.json'), lambda line: line.replace( version, new_version ))