fix changelog empty
This commit is contained in:
parent
cd2d9e7e80
commit
afb88771e0
1 changed files with 1 additions and 1 deletions
2
sync.sh
2
sync.sh
|
@ -23,7 +23,7 @@ for i in "${tmp[@]}"; do
|
||||||
if [[ "${folder}" != lineage/* && "${before[${folder}]}" != "${commit}" ]]; then
|
if [[ "${folder}" != lineage/* && "${before[${folder}]}" != "${commit}" ]]; then
|
||||||
cd "${folder}" || continue
|
cd "${folder}" || continue
|
||||||
log=$(git --no-pager log --pretty=format:"- %s" "${before[${folder}]}".."${commit}")
|
log=$(git --no-pager log --pretty=format:"- %s" "${before[${folder}]}".."${commit}")
|
||||||
if [[ $(echo "$log" | wc -l) != 0 ]]; then
|
if [[ $(echo -n "$log" | wc -l) != 0 ]]; then
|
||||||
{
|
{
|
||||||
echo "## ${folder} ${before[${folder}]}..${commit}"
|
echo "## ${folder} ${before[${folder}]}..${commit}"
|
||||||
echo "$log"
|
echo "$log"
|
||||||
|
|
Loading…
Add table
Reference in a new issue