fix changelog if one commit
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a3fa4c34f4
commit
aee33e4be0
2
sync.sh
2
sync.sh
@ -25,7 +25,7 @@ for i in "${tmp[@]}"; do
|
||||
if [[ "${folder}" != lineage/* && "${before[${folder}]}" != "${commit}" ]]; then
|
||||
cd "${folder}" || continue
|
||||
log=$(git --no-pager log --pretty=format:"- %s" "${before[${folder}]}".."${commit}")
|
||||
if [[ $(echo -n "$log" | wc -l) != 0 ]]; then
|
||||
if [[ $(echo -n "$log" | wc -c) != 0 ]]; then
|
||||
{
|
||||
echo "## ${folder} ${before[${folder}]}..${commit}"
|
||||
echo "$log"
|
||||
|
Loading…
Reference in New Issue
Block a user