Skip to content

Commit 8ef982e

Browse files
committed
update do_release.sh
1 parent fa516a2 commit 8ef982e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

do_release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ program_exists python
3434
cd "$(dirname "$0")"
3535

3636
# Determine if git working space clean
37-
if [ -n "$(git status --porcelain| grep -v CHANGELOG.md)" ]; then
37+
if [ -n "$(git status --untracked-files=no --porcelain| grep -v CHANGELOG.md)" ]; then
3838
echo "git working space not clean"
3939
exit 1
4040
fi
@@ -58,7 +58,7 @@ p() {
5858
if [ -z $1 ]; then
5959
return 1
6060
fi
61-
cp -v $1 ${PACK_DIR}/
61+
cp -vr $1 ${PACK_DIR}/
6262
return $?
6363
}
6464

0 commit comments

Comments
 (0)