fix changelog if one commit
This commit is contained in:
parent
3735fab2cf
commit
26c747a737
1 changed files with 1 additions and 1 deletions
2
sync.sh
2
sync.sh
|
@ -20,7 +20,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…
Add table
Reference in a new issue