summaryrefslogtreecommitdiffstats
path: root/roles/prerec/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/prerec/templates')
-rwxr-xr-xroles/prerec/templates/update-task-status.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/prerec/templates/update-task-status.sh b/roles/prerec/templates/update-task-status.sh
index c9ac142..d2500e1 100755
--- a/roles/prerec/templates/update-task-status.sh
+++ b/roles/prerec/templates/update-task-status.sh
@@ -3,8 +3,8 @@
SLUG="$1"
FROM_STATUS="$2"
TO_STATUS="$3"
-cd ~/emacsconf-2022-private
+cd {{ emacsconf_private_dir }}
git pull
-emacsclient -a emacs --eval "(progn (emacsconf-update-talk-status \"$SLUG\" \"$FROM_STATUS\" \"$TO_STATUS\") (emacsconf-with-talk-heading \"$SLUG\" (emacsconf-cache-video-data (emacsconf-get-talk-info-for-subtree)) (save-buffer)))"
-git commit -m "Update task status for $SLUG" conf.org
+emacsclient -a emacs --eval "(emacsconf-with-todo-hooks (emacsconf-update-talk-status \"$SLUG\" \"$FROM_STATUS\" \"$TO_STATUS\"))"
+git commit -m "Update task status for $SLUG from $FROM_STATUS to $TO_STATUS" conf.org
git push