Merge pull request #28 from calcom/feat/unify-id-routes

pull/9078/head
Agusti Fernandez 2022-04-04 00:46:13 +02:00 committed by GitHub
commit b067bff3e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# github submodule repo addresses without https:// prefix # github submodule repo addresses without https:// prefix
BRANCH_TO_CLONE="feat/api-keys" BRANCH_TO_CLONE="-b feat/api-keys"
# This didn't work ¯\_(ツ)_/¯ # This didn't work ¯\_(ツ)_/¯
# declare -A remotes=( # declare -A remotes=(
@ -54,7 +54,6 @@ for submodule in $submodules; do
# SUBMODULE_GITHUB=$remotes[$SUBMODULE_PATH] # SUBMODULE_GITHUB=$remotes[$SUBMODULE_PATH]
if [ "$SUBMODULE_PATH" == "apps/website" ]; then if [ "$SUBMODULE_PATH" == "apps/website" ]; then
SUBMODULE_GITHUB=github.com/calcom/website SUBMODULE_GITHUB=github.com/calcom/website
COMMIT=$VERCEL_GIT_COMMIT_SHA
fi fi
if [ "$SUBMODULE_PATH" == "apps/api" ]; then if [ "$SUBMODULE_PATH" == "apps/api" ]; then
@ -84,7 +83,7 @@ for submodule in $submodules; do
rm -rf tmp # remove the tmp folder rm -rf tmp # remove the tmp folder
done done
git diff --quiet HEAD^ HEAD ':!/apps/docs/*' ':!/apps/api/*' ':!/apps/web/*' git diff --quiet HEAD^ HEAD ':!/apps/docs/*' ':!/apps/website/*' ':!/apps/web/*'
echo "✅ - Build can proceed" echo "✅ - Build can proceed"
exit 1 exit 1