diff options
author | jaseg <git@jaseg.de> | 2023-11-18 11:57:02 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-11-18 11:57:25 +0100 |
commit | b42f79a4f1be505d95be7fd13333ff96fa624aa4 (patch) | |
tree | 44d76ddf3783029b80a62c403d68f2e8cf291128 /do_release.sh | |
parent | 93cf60e109b592fcca07f98864d05e5503c59d05 (diff) | |
download | python-mpv-b42f79a4f1be505d95be7fd13333ff96fa624aa4.tar.gz python-mpv-b42f79a4f1be505d95be7fd13333ff96fa624aa4.tar.bz2 python-mpv-b42f79a4f1be505d95be7fd13333ff96fa624aa4.zip |
Make release script properly update version in mpv.py
Diffstat (limited to 'do_release.sh')
-rwxr-xr-x | do_release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |