commit
5bbefe974f
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ -z "${CI}" ]] then
|
if [[ -z "${CI}" ]]; then
|
||||||
echo 'Cannot run insall.sh unless in CI'
|
echo 'Cannot run insall.sh unless in CI'
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
@ -15,8 +15,7 @@ git clone https://$PERSONAL_ACCESS_TOKEN@github.com/Budibase/budibase-pro.git
|
||||||
# Community forks won't be able to clone the pro repo as they can't access secrets
|
# Community forks won't be able to clone the pro repo as they can't access secrets
|
||||||
# Skip the rest of the installation and rely on npm version instead
|
# Skip the rest of the installation and rely on npm version instead
|
||||||
# This should be ok as forks will not rely on pro changes
|
# This should be ok as forks will not rely on pro changes
|
||||||
if [ -d "budibase-pro" ]
|
if [[ -d "budibase-pro" ]]; then
|
||||||
then
|
|
||||||
cd budibase-pro
|
cd budibase-pro
|
||||||
|
|
||||||
# Try to checkout the matching pro branch
|
# Try to checkout the matching pro branch
|
||||||
|
|
Loading…
Reference in New Issue