Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/update-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ jobs:
echo NEW_TAG="$GENERATED_VERSION"
echo NEW_TAG="$GENERATED_VERSION" >> $GITHUB_ENV

echo BRANCH="release/${MAJOR}.${MINOR}-lts"
echo BASE_BRANCH="$BRANCH"
echo BASE_BRANCH="$BRANCH" >> $GITHUB_ENV
BASE_BRANCH="release/${MAJOR}.${MINOR}-lts"
echo "BASE_BRANCH=$BASE_BRANCH"
echo "BASE_BRANCH=$BASE_BRANCH" >> $GITHUB_ENV
shell: bash

- name: Fallback to set mainline tag based on date
Expand Down Expand Up @@ -114,8 +114,9 @@ jobs:
fi

if [[ -z "${BASE_BRANCH:-}" ]]; then
echo BASE_BRANCH="main"
echo BASE_BRANCH="main" >> $GITHUB_ENV
BASE_BRANCH="main"
echo "BASE_BRANCH=$BASE_BRANCH"
echo "BASE_BRANCH=$BASE_BRANCH" >> $GITHUB_ENV
fi
shell: bash

Expand Down
Loading