Set BASE_BRANCH to develop if not defined

This commit is contained in:
Andrea Maria Piana 2024-08-14 19:55:09 +01:00
parent 0954a4ad13
commit 771f26210a
1 changed files with 3 additions and 0 deletions

View File

@ -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