Skip to content

Commit

Permalink
fix(release): add git log
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrishajev committed Sep 27, 2024
1 parent 5074751 commit b685d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docker/script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
Expand Down

0 comments on commit b685d32

Please sign in to comment.