-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make release script properly update version in mpv.py
- Loading branch information
jaseg
committed
Nov 18, 2023
1 parent
93cf60e
commit b42f79a
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] tag -s "v$VER" -m "Version $VER" | ||
|