commit 8fe31c3f41077d9b60a2ee46528bf5709c834472 parent ccd06709150b08234b4d77d24fc402599b6e6a8c Author: Stefan Koch <programming@stefan-koch.name> Date: Sun, 15 Sep 2019 15:28:56 +0200 build the checked-in branch Diffstat:
M | hooks/post-update | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hooks/post-update b/hooks/post-update @@ -9,4 +9,7 @@ echo "Current user: $user" source /home/$user/.bash_profile -nohup /opt/cinderella/cinderella "$PWD" &>/dev/null & +branch=$(basename "$1") +echo "Will build branch $branch" + +nohup /opt/cinderella/cinderella "$PWD" --branch "$branch" &>/dev/null &