forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[master] we are clean enough already, thank you very much (2600hz#6062)
* [master] we are clean enough already, thank you very much * Clean the repo before adding the submodule
- Loading branch information
Showing
1 changed file
with
3 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,15 +22,11 @@ if [ ! -d $APP_PATH ]; then | |
git submodule add ${CIRCLE_REPOSITORY_URL} $APP_PATH | ||
fi | ||
|
||
cd $APP_PATH | ||
|
||
echo checking out our commit $CIRCLE_BRANCH | ||
git fetch --prune | ||
git checkout -B $CIRCLE_BRANCH | ||
git reset --hard $CIRCLE_SHA1 | ||
|
||
cd $KAZOO_ROOT | ||
|
||
echo "make a pristine environment for the kazoo dir" | ||
git clean -x -d -f | ||
|
||
# wanted when committing | ||
echo setup git config | ||
git config user.email '[email protected]' | ||
|
@@ -39,6 +35,3 @@ git config user.name 'CircleCI' | |
echo committing kazoo changes to avoid false positives later | ||
git add .gitmodules $APP_PATH | ||
git commit -m "add submodule" | ||
|
||
echo cleaning up kazoo | ||
make -k clean |