From c8fca62fc45b67c4832d624f7a5cca8242e3537f Mon Sep 17 00:00:00 2001 From: G r e y Date: Thu, 8 Apr 2021 02:52:44 +0000 Subject: [PATCH 1/5] chore: Print PR template link in create-clog.sh --- scripts/create-clog.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/create-clog.sh b/scripts/create-clog.sh index c9a89408b..9a3403986 100755 --- a/scripts/create-clog.sh +++ b/scripts/create-clog.sh @@ -99,8 +99,16 @@ function update_manifest () { popd > /dev/null } +function print_pr_info () { + branch="$(git branch --show-current)" + echo "TIP: After comitting this branch visit" + echo "https://github.com/cdr/docs/compare/master...${branch}?template=release-template.md" + echo "to open a PR using the Release Template" +} + # main program init "$@" create_from_template update_manifest +print_pr_info echo "Done" From 783e159493efb6b277c6d09a9c1a00ca335f2ea2 Mon Sep 17 00:00:00 2001 From: G r e y Date: Thu, 8 Apr 2021 02:56:39 +0000 Subject: [PATCH 2/5] fixup! chore: Print PR template link in create-clog.sh --- scripts/create-clog.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/create-clog.sh b/scripts/create-clog.sh index 9a3403986..56dcdadfb 100755 --- a/scripts/create-clog.sh +++ b/scripts/create-clog.sh @@ -101,9 +101,12 @@ function update_manifest () { function print_pr_info () { branch="$(git branch --show-current)" - echo "TIP: After comitting this branch visit" + echo + echo "tip: After comitting this branch visit" + echo echo "https://github.com/cdr/docs/compare/master...${branch}?template=release-template.md" - echo "to open a PR using the Release Template" + echo + echo "to open a PR using the release PR template" } # main program From 0e130b903db4cb22d5887e74275792537ed5c032 Mon Sep 17 00:00:00 2001 From: G r e y Date: Wed, 7 Apr 2021 21:58:52 -0500 Subject: [PATCH 3/5] Use PR expansion --- scripts/create-clog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-clog.sh b/scripts/create-clog.sh index 56dcdadfb..59542b05e 100755 --- a/scripts/create-clog.sh +++ b/scripts/create-clog.sh @@ -104,7 +104,7 @@ function print_pr_info () { echo echo "tip: After comitting this branch visit" echo - echo "https://github.com/cdr/docs/compare/master...${branch}?template=release-template.md" + echo "https://github.com/cdr/docs/compare/master...${branch}?template=release-template.md&expand=1" echo echo "to open a PR using the release PR template" } From 41e64e4e63025f4041ea605f76157e33e3d49790 Mon Sep 17 00:00:00 2001 From: G r e y Date: Thu, 8 Apr 2021 03:00:13 +0000 Subject: [PATCH 4/5] fixup! chore: Print PR template link in create-clog.sh --- scripts/create-clog.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/create-clog.sh b/scripts/create-clog.sh index 56dcdadfb..e9386ed4c 100755 --- a/scripts/create-clog.sh +++ b/scripts/create-clog.sh @@ -101,11 +101,8 @@ function update_manifest () { function print_pr_info () { branch="$(git branch --show-current)" - echo echo "tip: After comitting this branch visit" - echo echo "https://github.com/cdr/docs/compare/master...${branch}?template=release-template.md" - echo echo "to open a PR using the release PR template" } From 556ff7760246265f8465cfab00a0f405ed1d5e4c Mon Sep 17 00:00:00 2001 From: G r e y Date: Thu, 8 Apr 2021 09:49:44 -0500 Subject: [PATCH 5/5] Update scripts/create-clog.sh Co-authored-by: Jonathan Yu --- scripts/create-clog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-clog.sh b/scripts/create-clog.sh index b7c3fc5b8..12cd87438 100755 --- a/scripts/create-clog.sh +++ b/scripts/create-clog.sh @@ -101,7 +101,7 @@ function update_manifest () { function print_pr_info () { branch="$(git branch --show-current)" - echo "tip: After comitting this branch visit" + echo "tip: After committing this branch visit" echo "https://github.com/cdr/docs/compare/master...${branch}?template=release-template.md&expand=1" echo "to open a PR using the release PR template" }