Skip to content

Commit

Permalink
Merge pull request metal3-io#1041 from Nordix/fix-unbound-CAPM3RELEAS…
Browse files Browse the repository at this point in the history
…EBRANCH/mohammed

🐛 Fix unbound CAPM3RELEASEBRANCH for local tests
  • Loading branch information
metal3-io-bot authored Jul 11, 2022
2 parents 41d475c + 4b8cc0f commit fba4804
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ export CAPM3PATH="${CAPM3PATH:-${M3PATH}/cluster-api-provider-metal3}"
export CAPM3_BASE_URL="${CAPM3_BASE_URL:-metal3-io/cluster-api-provider-metal3}"
export CAPM3REPO="${CAPM3REPO:-https://github.com/${CAPM3_BASE_URL}}"

export CAPM3RELEASEBRANCH=${CAPM3RELEASEBRANCH:-main}

if [ "${CAPM3RELEASEBRANCH}" == "release-0.5" ] || [ "${CAPM3_VERSION}" == "v1alpha5" ]; then
CAPM3BRANCH="${CAPM3BRANCH:-release-0.5}"
IPAMBRANCH="${IPAMBRANCH:-release-0.1}"
Expand Down

0 comments on commit fba4804

Please sign in to comment.