summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-02-26 15:17:38 +0100
committerjaseg <git@jaseg.de>2023-02-26 15:17:38 +0100
commitd7664eb6716cb35a116b402da952dcb5ae0f01bd (patch)
tree5c3010561b37a474dc580ab4702b49c1382e2b08
parent244c0ef31650a8e02418e94d625af81146e90dcf (diff)
downloadpython-mpv-d7664eb6716cb35a116b402da952dcb5ae0f01bd.tar.gz
python-mpv-d7664eb6716cb35a116b402da952dcb5ae0f01bd.tar.bz2
python-mpv-d7664eb6716cb35a116b402da952dcb5ae0f01bd.zip
Fix release script for new packaging workflow
-rwxr-xr-xdo_release.sh6
1 files 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