Update reno update to check whether series exists
Currently there is an error happening if a deliverable does not have the series defined which is being transitioned to unmaintained. Check whether the series file actually exists before trying to modify it and exit gracefully if it doesn't. Change-Id: I8817a95656bad0b03243a415c4d3d364e85c048c
This commit is contained in:
parent
b857857055
commit
d60e16aad4
@ -31,6 +31,11 @@ REPO=$2
|
||||
|
||||
cd $REPO
|
||||
|
||||
if [[ ! -f releasenotes/source/${SERIES}.rst ]]; then
|
||||
echo "No releasenotes source defined for series ${SERIES}, nothing to update."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
commit_msg="reno: Update master for unmaintained/${SERIES}
|
||||
|
||||
Update the ${SERIES} release notes configuration to build from
|
||||
|
Loading…
x
Reference in New Issue
Block a user