github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/scripts/release-notes/test8.sh (about) 1 #!/bin/sh 2 set -eux 3 4 . common.sh 5 6 t=test8 7 relnotescript=${1:?} 8 rewrite=${2:-} 9 10 test_init 11 12 ( 13 cd $t 14 init_repo 15 16 cat >AUTHORS <<EOF 17 Foo Foo <foo@example.com> foo <foo@example.com> <foo2@example.com> 18 EOF 19 git add AUTHORS 20 make_change "update AUTHORS" 21 22 git checkout -b feature 23 make_change "feature A1" 24 git commit --allow-empty --amend --author='foo <foo@example.com>' --no-edit 25 tag_pr 1 26 git checkout master 27 merge_pr feature 1 "PR 1 title" 28 29 git checkout -b feature2 30 make_change "feature A2" 31 git commit --allow-empty --amend --author='foo <foo2@example.com>' --no-edit 32 tag_pr 2 33 git checkout master 34 merge_pr feature2 2 "PR 2 title" 35 ) 36 37 test_end