File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 5555
5656debug_out " Checking for UpgradeNote mentioning ARI in commit message."
5757upgrade_note=$( jq -r ' .[].commit.message' ${PR_COMMITS_PATH} | \
58- tr -d ' \r' | sed -n -r -e ' /^(User|Upgrade)Note:/,/^$/p' | \
58+ tr -d ' \r' | sed -n -r -e ' /^(User|Upgrade|Developer )Note:/,/^$/p' | \
5959 tr ' [:upper:]' ' [:lower:]' | sed -n -r -e ' s/.*(ari).*/\1/p' )
6060
6161if [ -z " $upgrade_note " ] ; then
6262debug_out " No UpgradeNote mentioning 'ARI' found. Adding checklist item."
6363 cat << -EOF | print_checklist_item --append-newline
64- - [ ] An ARI change was detected but a commit message UpgradeNote
65- or UserNote mentioning ARI wasn't found.
66- Please add an UpgradeNote to the commit message that mentions ARI
67- notifying users that there's been a change to the REST resources.
64+ - [ ] An ARI change was detected but a commit message UpgradeNote or
65+ DeveloperNote mentioning ARI wasn't found.
66+ Please add a DeveloperNote for new capabilities or an UpgradeNote for
67+ non-backwards compatible changes to the commit message that
68+ mentions ARI notifying users that there's been a change to the REST
69+ resources.
6870 EOF
6971 checklist_added=true
7072fi
You can’t perform that action at this time.
0 commit comments