Fix path on git command (#1281)

This commit is contained in:
John DiSanti 2022-03-28 13:48:29 -07:00 committed by GitHub
parent 58fd455af3
commit 7a5d179220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ if [[ $# -eq 1 ]]; then
else
# Otherwise, for the use-case where CI is being run directly on the main branch
# without a pull request, use the commit hash of HEAD
BASE_REVISION="$(git rev-parse HEAD)"
BASE_REVISION="$(cd smithy-rs; git rev-parse HEAD)"
fi
SCRIPT_PATH="$(realpath "$(dirname "$0")")"