Skip to content

Commit 597c5b7

Browse files
greyscaledjawnsy
andauthored
chore: Print PR template link in create-clog.sh (coder#253)
Co-authored-by: Jonathan Yu <jonathan@coder.com>
1 parent 18f6652 commit 597c5b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/create-clog.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,16 @@ function update_manifest () {
9999
popd > /dev/null
100100
}
101101

102+
function print_pr_info () {
103+
branch="$(git branch --show-current)"
104+
echo "tip: After committing this branch visit"
105+
echo "https://github.com/cdr/docs/compare/master...${branch}?template=release-template.md&expand=1"
106+
echo "to open a PR using the release PR template"
107+
}
108+
102109
# main program
103110
init "$@"
104111
create_from_template
105112
update_manifest
113+
print_pr_info
106114
echo "Done"

0 commit comments

Comments
 (0)