From b685d32f5616943539626c790cb186eb8e610f07 Mon Sep 17 00:00:00 2001 From: Yaroslav Grishajev Date: Fri, 27 Sep 2024 18:02:56 +0200 Subject: [PATCH] fix(release): add git log --- packages/docker/script/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docker/script/build.sh b/packages/docker/script/build.sh index 9423c011a..983aa1ef0 100755 --- a/packages/docker/script/build.sh +++ b/packages/docker/script/build.sh @@ -58,7 +58,7 @@ if [[ -z "$REPO" || -z "$TAG" || -z "$APP" ]]; then print_help exit 1 fi - +git log -n 10 FULL_COMMIT=$(git log --grep='^chore\(release\): released version' --invert-grep -n 1 --pretty=format:"%H %s" -- "$(git rev-parse --show-toplevel)/apps/${APP}") echo "Base commit: $FULL_COMMIT" SHA=$(echo $FULL_COMMIT | awk '{print $1}')