exclude lineage infra from changelog
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
41825856c6
commit
3941420208
6
sync.sh
6
sync.sh
@ -17,14 +17,14 @@ echo -e "# Build $(date '+%Y-%m-%d %H:%M:%S') UTC\n" >>"${changelog}"
|
|||||||
tmp=($(repo forall -c 'echo "${REPO_PATH}:$(git rev-parse HEAD)"'))
|
tmp=($(repo forall -c 'echo "${REPO_PATH}:$(git rev-parse HEAD)"'))
|
||||||
for i in "${tmp[@]}"; do
|
for i in "${tmp[@]}"; do
|
||||||
IFS=: read -r folder commit <<<"${i}"
|
IFS=: read -r folder commit <<<"${i}"
|
||||||
if [[ "${before[${folder}]}" != "${commit}" ]]; then
|
if [[ "${folder}" != lineage/* && "${before[${folder}]}" != "${commit}" ]]; then
|
||||||
cd ${folder}
|
cd "${folder}" || continue
|
||||||
{
|
{
|
||||||
echo "## ${folder}"
|
echo "## ${folder}"
|
||||||
git --no-pager log --pretty=format:"- %s" "${before[${folder}]}".."${commit}"
|
git --no-pager log --pretty=format:"- %s" "${before[${folder}]}".."${commit}"
|
||||||
echo
|
echo
|
||||||
} >>"${changelog}"
|
} >>"${changelog}"
|
||||||
cd ${TOPDIR}
|
cd "${TOPDIR}" || continue
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo -e "\n" >>"${changelog}"
|
echo -e "\n" >>"${changelog}"
|
||||||
|
Loading…
Reference in New Issue
Block a user