Loading hook-scripts/post-receive/auto-build +10 −1 Original line number Diff line number Diff line Loading @@ -209,8 +209,17 @@ build () cd "$dir" ( unset GIT_DIR remote_ref="${ref/heads/remotes/origin}" git fetch origin git checkout -B "${ref/heads\//}" "${ref/heads/remotes/origin}" git fetch origin --tags case "${ref%%/*}" in heads) git checkout -B "${ref/heads\//}" "$remote_ref" ;; *) git checkout -B build/ref/"$ref" "$remote_ref" ;; esac git clean -f -d -q -x git reset --hard ) Loading Loading
hook-scripts/post-receive/auto-build +10 −1 Original line number Diff line number Diff line Loading @@ -209,8 +209,17 @@ build () cd "$dir" ( unset GIT_DIR remote_ref="${ref/heads/remotes/origin}" git fetch origin git checkout -B "${ref/heads\//}" "${ref/heads/remotes/origin}" git fetch origin --tags case "${ref%%/*}" in heads) git checkout -B "${ref/heads\//}" "$remote_ref" ;; *) git checkout -B build/ref/"$ref" "$remote_ref" ;; esac git clean -f -d -q -x git reset --hard ) Loading