Skip to content

Commit

Permalink
fixup! added scripts for monorepo maintenance into /.ci directory
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrHeinz committed Jan 17, 2019
1 parent 66ae677 commit 11a620a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .ci/monorepo_force_split_branch.sh
Expand Up @@ -15,7 +15,9 @@ BLUE="\e[34m"
NC="\e[0m"

SPLIT_BRANCH=$1
WORKSPACE=${WORKSPACE:-.}

# Default value for WORKSPACE is the current working directory
WORKSPACE=${WORKSPACE:-$PWD}

if [[ "$SPLIT_BRANCH" == "" ]]; then
printf "${RED}$(date +%T) > You must provide branch name to remove!${NC}\n\n"
Expand Down
3 changes: 2 additions & 1 deletion .ci/monorepo_split.sh
Expand Up @@ -12,7 +12,8 @@ GREEN="\e[32m"
BLUE="\e[34m"
NC="\e[0m"

WORKSPACE=${WORKSPACE:-.}
# Default value for WORKSPACE is the current working directory
WORKSPACE=${WORKSPACE:-$PWD}

# Relatively new version of git must be installed
printf "\n${BLUE}Using $(git --version). The package shopsys/monorepo-tools was tested on 2.16.1.${NC}\n\n"
Expand Down

0 comments on commit 11a620a

Please sign in to comment.