Commit 3e9836ae authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #1526 from namtzigla/dot-repos-names

changed the post-receive hook in order to push the correct repository 
parents 1502be32 6424fc71
......@@ -7,6 +7,6 @@ while read oldrev newrev ref
do
# For every branch or tag that was pushed, create a Resque job in redis.
pwd=`pwd`
reponame=`basename "$pwd" | cut -d. -f1`
reponame=`basename "$pwd" | sed s/\.git$//`
env -i redis-cli rpush "resque:queue:post_receive" "{\"class\":\"PostReceive\",\"args\":[\"$reponame\",\"$oldrev\",\"$newrev\",\"$ref\",\"$GL_USER\"]}" > /dev/null 2>&1
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment