Skip to content

Commit 0e8fd2a

Browse files
committed
We move to git in production.
1 parent 573b915 commit 0e8fd2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

hooks/post-receive.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ ruby_commit_hook="$(cd "$(dirname $0)"; cd ..; pwd)"
2727
--vcs git \
2828
> /tmp/post-receive-commit-email.log 2>&1
2929

30-
# { date; echo auto-style; uptime; } >> "$hook_log"
31-
# RUBY_GIT_HOOK=1 "${ruby_commit_hook}/bin/auto-style.rb" "$ruby_git"
30+
{ date; echo auto-style; uptime; } >> "$hook_log"
31+
RUBY_GIT_HOOK=1 "${ruby_commit_hook}/bin/auto-style.rb" "$ruby_git"
3232

33-
# { date; echo update-version.h.rb; uptime; } >> "$hook_log"
34-
# "${ruby_commit_hook}/bin/update-version.h.rb" git "$ruby_git" $* \
35-
# > /tmp/post-receive-update-version.log 2>&1 &
33+
{ date; echo update-version.h.rb; uptime; } >> "$hook_log"
34+
"${ruby_commit_hook}/bin/update-version.h.rb" git "$ruby_git" $* \
35+
> /tmp/post-receive-update-version.log 2>&1 &
3636

3737
{ date; echo redmine fetch changesets; uptime; } >> "$hook_log"
3838
curl "https://bugs.ruby-lang.org/sys/fetch_changesets?key=`cat ~git/config/redmine.key`" &

0 commit comments

Comments
 (0)