From 13b1ad73736ec32abfc62e9a3e1f20e2b258de85 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sat, 13 Dec 2025 10:48:10 +1100 Subject: [PATCH] Fix Manage Reminders dialog (the actions column was missing, to edit/delete reminders) --- bouquin/reminders.py | 2 +- release.sh | 29 +++++++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/bouquin/reminders.py b/bouquin/reminders.py index fe5e031..6d8b0a1 100644 --- a/bouquin/reminders.py +++ b/bouquin/reminders.py @@ -706,7 +706,7 @@ class ManageRemindersDialog(QDialog): # Reminder list table self.table = QTableWidget() - self.table.setColumnCount(5) + self.table.setColumnCount(6) self.table.setHorizontalHeaderLabels( [ strings._("text"), diff --git a/release.sh b/release.sh index 9f8b3c8..f086e0c 100755 --- a/release.sh +++ b/release.sh @@ -2,6 +2,31 @@ set -eo pipefail +# Parse the args +while getopts "v:" OPTION +do + case $OPTION in + v) + VERSION=$OPTARG + ;; + ?) + usage + exit + ;; + esac +done + +if [[ -z "${VERSION}" ]]; then + echo "You forgot to pass -v [version]!" + exit 1 +fi + +sed -i s/version.*$/version\ =\ \"${VERSION}\"/g pyproject.toml + +git add pyproject.toml +git commit -m "Bump to ${VERSION}" +git push origin main + # Clean caches etc filedust -y . @@ -10,11 +35,11 @@ poetry build poetry publish # Make AppImage -sudo apt-get install libfuse-dev +sudo apt-get -y install libfuse-dev poetry run pyproject-appimage mv Bouquin.AppImage dist/ # Sign packages for file in `ls -1 dist/`; do qubes-gpg-client --batch --armor --detach-sign dist/$file > dist/$file.asc; done -echo "Don't forget to update version string on remote server." +ssh wolverine.mig5.net "echo ${VERSION} | tee /opt/www/mig5.net/bouquin/version.txt"