Set BASE_BRANCH to develop if not defined
This commit is contained in:
parent
0954a4ad13
commit
771f26210a
|
@ -3,6 +3,9 @@
|
|||
set -euo pipefail
|
||||
|
||||
parse_commits() {
|
||||
|
||||
BASE_BRANCH=${BASE_BRANCH:-develop}
|
||||
|
||||
start_commit=${1:-origin/${BASE_BRANCH}}
|
||||
end_commit=${2:-HEAD}
|
||||
is_breaking_change=false
|
||||
|
|
Loading…
Reference in New Issue