summaryrefslogblamecommitdiffstats
path: root/roles/prerec/templates/update-task-status.sh
blob: d2500e14b884326f3e49ef814d8a9515b2097a61 (plain) (tree)
1
2
3
4
5
6
7
8
9




                       
                              
        

                                                                                                                                  
        
#!/bin/bash
# {{ ansible_managed }}
SLUG="$1"
FROM_STATUS="$2"
TO_STATUS="$3"
cd {{ emacsconf_private_dir }}
git pull
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