1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-16 13:48:58 +01:00

[ticket/17308] Change project key to start with PHPBB-

PHPBB-17308
This commit is contained in:
Marc Alexander 2024-05-05 09:37:09 +02:00
parent 6aa980eadb
commit 8954a68953
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
3 changed files with 4 additions and 4 deletions

View File

@ -7,4 +7,4 @@ Checklist:
Tracker ticket: Tracker ticket:
https://tracker.phpbb.com/browse/PHPBB3-12345 https://tracker.phpbb.com/browse/PHPBB-12345

View File

@ -224,7 +224,7 @@ do
"footer") "footer")
err=$ERR_FOOTER; err=$ERR_FOOTER;
# Each ticket is on its own line # Each ticket is on its own line
echo "$line" | grep -Eq "^PHPBB3-[0-9]+$"; echo "$line" | grep -Eq "^PHPBB3?-[0-9]+$";
;; ;;
"eof") "eof")
err=$ERR_EOF; err=$ERR_EOF;
@ -356,7 +356,7 @@ echo "$expecting" | grep -q "eof" || (
# Check the branch ticket is mentioned, doesn't make sense otherwise # Check the branch ticket is mentioned, doesn't make sense otherwise
if [ $ticket -gt 0 ] if [ $ticket -gt 0 ]
then then
echo "$tickets" | grep -Eq "\bPHPBB3-$ticket\b" || ( echo "$tickets" | grep -Eq "\bPHPBB3?-$ticket\b" || (
complain "Ticket ID [$ticket] of branch missing from list of tickets:" >&2; complain "Ticket ID [$ticket] of branch missing from list of tickets:" >&2;
complain "$tickets" | sed 's/ /\n/g;s/^/* /g' >&2; complain "$tickets" | sed 's/ /\n/g;s/^/* /g' >&2;
quit $ERR_FOOTER; quit $ERR_FOOTER;

View File

@ -47,7 +47,7 @@ then
# Branch is prefixed with 'ticket/', append ticket ID to message # Branch is prefixed with 'ticket/', append ticket ID to message
if [ "$branch" != "${branch##ticket/}" ]; if [ "$branch" != "${branch##ticket/}" ];
then then
tail="$(printf '\n\nPHPBB3-%s' "$ticket_id")"; tail="$(printf '\n\nPHPBB-%s' "$ticket_id")";
fi fi
fi fi