mirror of
https://example.com
synced 2024-11-22 23:16:38 +09:00
fix: avoid including merge commits in CHANGELOG
This commit is contained in:
parent
13c10f4816
commit
68f7ce646b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ run 'git pull --ff --no-edit --autostash --strategy-option theirs'
|
|||
NEW_COMMIT=$(git rev-parse --short HEAD)
|
||||
|
||||
if [ "${OLD_COMMIT}" != "${NEW_COMMIT}" ]; then
|
||||
run "git log --reverse --format='%s (by %an)' ${OLD_COMMIT}..${NEW_COMMIT} > neko/volume/CHANGELOG"
|
||||
run "git log --no-merges --reverse --format='%s (by %an)' ${OLD_COMMIT}..${NEW_COMMIT} > neko/volume/CHANGELOG"
|
||||
fi
|
||||
|
||||
say 'Pulled successfully!'
|
||||
|
|
Loading…
Reference in a new issue