Skip to content

Commit

Permalink
Search only the root directory for README file
Browse files Browse the repository at this point in the history
Fix #16
  • Loading branch information
sudar committed Jul 13, 2014
1 parent 070d0bf commit 2b115f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ git pull origin master

# Check version in readme.txt/md is the same as plugin file
# if readme.md file is found, then use it
README_MD=`find . -iname "readme.md"`
README_MD=`find . -maxdepth 1 -iname "readme.md"`
if [ -f "$README_MD" ]; then
echo "[Info] README.md file found: $README_MD"
NEWVERSION1=`awk -F' ' '/Stable tag:/{print $3}' $README_MD | tr -d '\r '`
Expand Down

0 comments on commit 2b115f2

Please sign in to comment.