mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[task/git-tools] append ticket id to git log message
PHPBB3-9770
This commit is contained in:
committed by
Chris Smith
parent
b7ae0fe4e9
commit
f0509e4620
@@ -32,3 +32,10 @@ if [ "$2" = "" ]
|
|||||||
then
|
then
|
||||||
echo "[$branch] $(cat "$1")" > "$1"
|
echo "[$branch] $(cat "$1")" > "$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if (echo $branch | grep '^ticket/')
|
||||||
|
then
|
||||||
|
ticket_id="$(echo $branch | sed "s/ticket\///g")"
|
||||||
|
echo >> "$1"
|
||||||
|
echo "PHPBB3-$ticket_id" >> "$1"
|
||||||
|
fi
|
||||||
|
Reference in New Issue
Block a user