github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/scripts/release-notes/test2.sh (about)

     1  #!/bin/sh
     2  set -eux
     3  
     4  . common.sh
     5  
     6  t=test2
     7  relnotescript=${1:?}
     8  rewrite=${2:-}
     9  
    10  test_init
    11  
    12  # Initialize the repo and populate it.
    13  (
    14      cd $t
    15      init_repo
    16      git branch feature
    17      make_change "master update"
    18      git checkout feature
    19      make_change "feature A
    20  
    21  Release note (bug fix): feature A
    22  "
    23      merge_branch master
    24      make_change "feature B
    25  
    26  Release note (bug fix): feature B
    27  "
    28  
    29      tag_pr 1
    30      git checkout master
    31      merge_pr feature 1 "PR title"
    32  )
    33  
    34  test_end