Skip to content

Commit d3e677a

Browse files
committed
GH-704 - More verbose output about the issued gh command.
1 parent de4a5dd commit d3e677a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

etc/create-backport-tickets.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ number=$1
1313
# For each of the target versions
1414
for version in ${@:2}
1515
do
16+
echo "gh issue create --title \"$title\" --body \"Back-port of $sourceGh.\" --label \"$labels\" --assignee \"@me\" --milestone \"$version\""
1617
number=$(gh issue create --title "$title" --body "Back-port of $sourceGh." --label "$labels" --assignee "@me" --milestone "$version" | awk -F '/' '{print $NF}')
18+
echo "New ticket number: $number"
1719

1820
# Turn 1.5.6 into 1.5.x
1921
targetBranch="$(echo "$version" | grep -oE '^[0-9]+\.[0-9]+').x"

0 commit comments

Comments
 (0)