Skip to content

Commit

Permalink
appdiff script - testing
Browse files Browse the repository at this point in the history
  • Loading branch information
isra67 committed Sep 26, 2017
1 parent 512740a commit 6442409
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/node_modules
backup
public/storage/*.dat
4 changes: 3 additions & 1 deletion appdiff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ BRANCH="master"
## working dir
cd /root/app

GITDIFF=`git diff --name-only --ignore-space-change gh/$BRANCH`
##GITDIFF=`git diff --name-only --ignore-space-change gh/$BRANCH`
#GITDIFF=`git diff --name-only --ignore-space-change`
GITDIFF=`git log master..origin/master`
len=${#GITDIFF}

if [ $len -lt 3 ]
Expand Down

0 comments on commit 6442409

Please sign in to comment.