好好爱自己!

svn hooks 实现自动更新

搞来搞去,原来是hooks 下面的脚本名称必须是post-commit才可以, 写成fly-commit一直不行。晕死~~~

https://serverfault.com/questions/144181/subversion-hooks-no-longer-running

--------------------------------------------------------------------------------------------------------------------------------

For some reason, Subversion no longer seems to accept arbitrary extensions on hook scripts. I did have the hooks named like 'post-commit.sh', but Subversion no longer seems to look for these. After renaming the hook script to 'post-commit', Subversion ran it right away.

I'm not sure what revision to Subversion changed this behavior, and it is not mentioned in the CHANGES file for 1.6.11.

posted @ 2018-04-19 16:54  立志做一个好的程序员  阅读(282)  评论(0编辑  收藏  举报

不断学习创作,与自己快乐相处