post-receive很少修改。
commit 修改比较多
pull/109/head
Mr Chen 6 years ago
parent 417b78642c
commit 2c33997667
  1. 2
      plugins/gogs/index.py

@ -505,7 +505,7 @@ def projectScriptEdit():
user = args['user']
name = args['name'] + '.git'
post_receive = getRootPath() + '/' + user + '/' + name + \
'/custom_hooks/post-receive'
'/custom_hooks/commit'
if os.path.exists(post_receive):
return public.returnJson(True, 'OK', {'path': post_receive})
else:

Loading…
Cancel
Save