Skip to content

Commit

Permalink
Fixed git cloning issue. MaEVe depends on my branch, while Citrine de…
Browse files Browse the repository at this point in the history
…pends on specific SHA of a commit on the main, so handle accordingly

Signed-off-by: louisg1337 <[email protected]>
  • Loading branch information
louisg1337 committed Jun 8, 2024
1 parent 327646c commit 8f2b2a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion demo-iso15118-2-ac-plus-ocpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ git clone --branch "${DEMO_BRANCH}" "${DEMO_REPO}" everest-demo

if [[ "$DEMO_VERSION" != v1.6j ]]; then
echo "Cloning ${CSMS} CSMS from ${CSMS_REPO} into ${DEMO_DIR}/${CSMS}-csms and starting it"
git clone --branch "${CSMS_BRANCH}" "${CSMS_REPO}" ${CSMS}-csms

if [[ ${CSMS} == "maeve" ]]; then
git clone --branch "${CSMS_BRANCH}" "${CSMS_REPO}" ${CSMS}-csms
else
git clone ${CSMS_REPO} ${CSMS}-csms
fi

pushd ${CSMS}-csms || exit 1

Expand Down

0 comments on commit 8f2b2a4

Please sign in to comment.