changegroup deploy hook for different branches

6 views
Skip to first unread message

vadimv Vatlin

unread,
Feb 18, 2015, 9:28:05 AM2/18/15
to scmma...@googlegroups.com
Hello. 
I want to deploy code for different branches in changegroup hook. 
Can i do this ? 

for example 

if [ $branch == "default" ]; then 
   deploy master 
else if [ $branch == "test" ]; then 
   deploy test
else .....  
fi
Reply all
Reply to author
Forward
0 new messages