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 55
55
56
56
debug_out " Checking for UpgradeNote mentioning ARI in commit message."
57
57
upgrade_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' | \
59
59
tr ' [:upper:]' ' [:lower:]' | sed -n -r -e ' s/.*(ari).*/\1/p' )
60
60
61
61
if [ -z " $upgrade_note " ] ; then
62
62
debug_out " No UpgradeNote mentioning 'ARI' found. Adding checklist item."
63
63
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.
68
70
EOF
69
71
checklist_added=true
70
72
fi
You can’t perform that action at this time.
0 commit comments