newdracut.sh: do not include ci: changes in .spec changelog
Related: #2066816
This commit is contained in:
parent
478786c6bc
commit
193c972f1e
@ -52,8 +52,10 @@ if rpm -ivh --define "_srcrpmdir $PWD" --define "_specdir $PWD" --define "_sourc
|
||||
|
||||
for ((i=old_release; i<new_release; i++)); do
|
||||
subject=$(grep '^Subject: ' +(0)$i.patch | head -1)
|
||||
if [ -n "$subject" ]; then
|
||||
echo "-${subject#*\[PATCH\]}"
|
||||
subject="${subject#*\[PATCH\]}"
|
||||
|
||||
if [ -n "$subject" ] && [ -z "$(echo $subject | grep '^ci: ')" ]; then
|
||||
echo "-${subject}"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user