Skip to content

Commit

Permalink
fix: also clone submodules when in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-greffe committed Mar 22, 2024
1 parent 62a1c61 commit 692c51e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/setup_workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ else

# NOTE: cloning feathers-webpush could be avoided if we could parse app_version from tag/branch name instead
# In this case, the kli would clone feathers-webpush
GIT_OPS=
GIT_OPS="--recurse-submodules"
if [ -n "$WORKSPACE_TAG" ] || [ -n "$WORKSPACE_BRANCH" ]; then
GIT_OPS="--branch ${WORKSPACE_TAG:-$WORKSPACE_BRANCH}"
GIT_OPS="$GIT_OPS --branch ${WORKSPACE_TAG:-$WORKSPACE_BRANCH}"
fi
git clone --depth 1 $GIT_OPS "$GITHUB_URL/kalisio/feathers-webpush.git" "$WORKSPACE_DIR/feathers-webpush"

Expand Down

0 comments on commit 692c51e

Please sign in to comment.