Skip to content

Commit

Permalink
chore: fix vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Meissner committed Nov 4, 2024
1 parent 8259f18 commit 26f48fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vhdbuilder/scripts/automate_release_notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ set -x
IMAGE_VERSION="${IMAGE_VERSION:-""}"
VHD_BUILD_ID="${VHD_BUILD_ID:-""}"
SKIP_LATEST="${SKIP_LATEST:-false}"
PR_TARGET_BRANCH="${PR_TARGET_BRANCH:-master}"

generate_release_notes() {
included_skus=""
Expand Down Expand Up @@ -58,7 +59,7 @@ if [ `git branch --list $BRANCH_NAME` ]; then
git pull origin
git checkout master -- .
else
create_branch $BRANCH_NAME
create_branch $BRANCH_NAME $PR_TARGET_BRANCH
fi

retrycmd_if_failure 5 10 generate_release_notes || exit $?
Expand Down

0 comments on commit 26f48fc

Please sign in to comment.