fix: add branch name to checkout #2
@@ -16,7 +16,7 @@ echo "=== Checkout BEC Plugin ==="
|
||||
mkdir -p ./_plugin_checkout_/
|
||||
cd ./_plugin_checkout_/
|
||||
if git clone --depth 1 --branch "$PLUGIN_BRANCH" "$PLUGIN_URL"; then
|
||||
echo "Plugin checkout successful"
|
||||
echo "Plugin installed for repository $PLUGIN_REPO_NAME and branch $PLUGIN_BRANCH"
|
||||
else
|
||||
echo "Plugin checkout failed, trying default branch"
|
||||
git clone --depth 1 "$PLUGIN_URL"
|
||||
@@ -31,7 +31,7 @@ echo "=== Checkout BEC Core ==="
|
||||
mkdir -p ./_bec_checkout_/
|
||||
cd ./_bec_checkout_/
|
||||
if git clone --depth 1 --branch "$CORE_BRANCH" https://github.com/bec-project/bec.git; then
|
||||
echo "Core checkout successful"
|
||||
echo "BEC Core installed for branch $CORE_BRANCH"
|
||||
else
|
||||
echo "Core checkout failed, trying default branch"
|
||||
git clone --depth 1 https://github.com/bec-project/bec.git
|
||||
@@ -45,7 +45,7 @@ echo "=== Checkout BEC Widgets ==="
|
||||
mkdir -p ./_bec_widgets_checkout_/
|
||||
cd ./_bec_widgets_checkout_/
|
||||
if git clone --depth 1 --branch "$WIDGETS_BRANCH" https://github.com/bec-project/bec_widgets.git; then
|
||||
echo "Widgets checkout successful"
|
||||
echo "BEC Widgets installed for branch $WIDGETS_BRANCH"
|
||||
else
|
||||
echo "Widgets checkout failed, trying default branch"
|
||||
git clone --depth 1 https://github.com/bec-project/bec_widgets.git
|
||||
@@ -59,7 +59,7 @@ echo "=== Checkout Ophyd Devices ==="
|
||||
mkdir -p ./_ophyd_devices_checkout_/
|
||||
cd ./_ophyd_devices_checkout_/
|
||||
if git clone --depth 1 --branch "$OPHYD_DEVICES_BRANCH" https://github.com/bec-project/ophyd_devices.git; then
|
||||
echo "Ophyd Devices checkout successful"
|
||||
echo "Ophyd Devices installed for branch $OPHYD_DEVICES_BRANCH"
|
||||
else
|
||||
echo "Ophyd Devices checkout failed, trying default branch"
|
||||
git clone --depth 1 https://github.com/bec-project/ophyd_devices.git
|
||||
|
||||
Reference in New Issue
Block a user