A calendar management project, for events and activities related to communities fighting for freedoms.
This can be related to software, art, data, hardware, content, commons, internet.
https://www.agendadulibre.org
This can be related to software, art, data, hardware, content, commons, internet.
https://www.agendadulibre.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
329 B
17 lines
329 B
#!/usr/bin/env bash |
|
set -e |
|
oldrev=$1 |
|
newrev=$2 |
|
|
|
run() { |
|
[ -x $1 ] && $1 $oldrev $newrev |
|
} |
|
|
|
echo files changed: $(git diff $oldrev $newrev --diff-filter=ACDMR --name-only | wc -l) |
|
|
|
umask 002 |
|
|
|
git submodule sync && git submodule update --init --recursive |
|
|
|
run deploy/before_restart |
|
run deploy/restart && run deploy/after_restart
|
|
|