Skip to content

Commit

Permalink
fix(git): improve git safe directory workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Nov 20, 2022
1 parent cb8a76a commit 5352ef7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ mkdir -p "$(dirname $OUTPUT)"
args=$(echo "$@" | xargs)

# Execute git-cliff
cp -r . /tmp/gitdir
mv /tmp/gitdir app
mkdir app
cp -r .git app
cd app
GIT_CLIFF_OUTPUT="$OUTPUT" git-cliff $args
GIT_CLIFF_OUTPUT="../$OUTPUT" git-cliff $args
exit_code=$?

# Output to console
Expand Down

0 comments on commit 5352ef7

Please sign in to comment.