From d7664eb6716cb35a116b402da952dcb5ae0f01bd Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 26 Feb 2023 15:17:38 +0100 Subject: Fix release script for new packaging workflow --- do_release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/do_release.sh b/do_release.sh index d5cdea4..df301f2 100755 --- a/do_release.sh +++ b/do_release.sh @@ -10,8 +10,8 @@ if [ -n "$(git diff --name-only --cached)" ]; then exit 2 fi -sed -i "s/^\\(\\s*version\\s*=\\s*['\"]\\)[^'\"]*\\(['\"]\\s*,\\s*\\)$/\\1"$VER"\\2/" setup.py -git add setup.py +sed -i "s/^\\(\\s*version\\s*=\\s*['\"]\\)[^'\"]*\\(['\"]\\s*\\)$/\\1"$VER"\\2/" pyproject.toml +git add pyproject.toml git commit -m "Version $VER" --no-edit -env QUBES_GPG_DOMAIN=gpg git -c gpg.program=qubes-gpg-client -c user.signingkey=E36F75307F0A0EC2D145FF5CED7A208EEEC76F2D -c user.email=python-mpv@jaseg.de tag -s "v$VER" -m "Version $VER" +git -c user.signingkey=E36F75307F0A0EC2D145FF5CED7A208EEEC76F2D -c user.email=python-mpv@jaseg.de tag -s "v$VER" -m "Version $VER" git push --tags origin -- cgit