diff options
Diffstat (limited to 'aux/ci/git-post-receive.sh')
-rwxr-xr-x | aux/ci/git-post-receive.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aux/ci/git-post-receive.sh b/aux/ci/git-post-receive.sh index b064361..b8584bf 100755 --- a/aux/ci/git-post-receive.sh +++ b/aux/ci/git-post-receive.sh @@ -9,7 +9,8 @@ for n in $(seq 0 $((GIT_PUSH_OPTION_COUNT - 1))); do fi done -read -r _ SHA _ # oldrev newrev refname +# shellcheck disable=2034 +read -r _oldrev SHA _refname PROJECT="$(basename "$PWD" | cut -d. -f1)" # remove .git suffix LOGS_DIR="/opt/ci/$PROJECT/logs" |