- Notifications
You must be signed in to change notification settings - Fork 3.9k
/
Copy pathtest5.sh
40 lines (30 loc) · 686 Bytes
/
test5.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
# Copyright 2018 The Cockroach Authors.
#
# Use of this software is governed by the CockroachDB Software License
# included in the /LICENSE file.
set -eux
. common.sh
t=test5
relnotescript=${1:?}
rewrite=${2:-}
test_init
(
cd$t
init_repo
git checkout -b feature
make_change "feature A
Release note (bug fix): feature A
"
make_change "minor fix - no release note"
tag_pr 1
git checkout master
merge_pr feature 1 "PR title"
git branch -D feature
git checkout -b feature
make_change "feature B - missing release note"
tag_pr 2
git checkout master
merge_pr feature 2 "PR title in need of release note"
)
test_end