From b42f79a4f1be505d95be7fd13333ff96fa624aa4 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 18 Nov 2023 11:57:02 +0100 Subject: Make release script properly update version in mpv.py --- do_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/do_release.sh b/do_release.sh index fb50fcb..b1ae0f3 100755 --- a/do_release.sh +++ b/do_release.sh @@ -17,7 +17,7 @@ if [ -n "$(git diff --name-only --cached)" ]; then fi sed -i "s/^\\(\\s*version\\s*=\\s*['\"]\\)[^'\"]*\\(['\"]\\s*\\)$/\\1v"$VER"\\2/" pyproject.toml -sed -i "s/^\\(\\s*version\\s*=\\s*['\"]\\)[^'\"]*\\(['\"]\\s*\\)$/\\1"$VER"\\2/" mpv.py +sed -i "s/^\\(\\s*__version__\\s*=\\s*['\"]\\)[^'\"]*\\(['\"]\\s*\\)$/\\1"$VER"\\2/" mpv.py git add pyproject.toml mpv.py git commit -m "Version $VER" --no-edit git -c user.signingkey=E36F75307F0A0EC2D145FF5CED7A208EEEC76F2D -c user.email=python-mpv@jaseg.de tag -s "v$VER" -m "Version $VER" -- cgit