Skip to content

Commit 49151fe

Browse files
committed
PRChecks: Fix instructions in ari-out-of-sync
1 parent c6d0680 commit 49151fe

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

scripts/PRChecks/15-ari-out-of-sync.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,18 @@ fi
5555

5656
debug_out " Checking for UpgradeNote mentioning ARI in commit message."
5757
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' | \
5959
tr '[:upper:]' '[:lower:]' | sed -n -r -e 's/.*(ari).*/\1/p')
6060

6161
if [ -z "$upgrade_note" ] ; then
6262
debug_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
7072
fi

0 commit comments

Comments
 (0)