Skip to content

Commit

Permalink
Exclude empty package directory when cutting a ralease
Browse files Browse the repository at this point in the history
  • Loading branch information
mina86 committed May 23, 2019
1 parent 5599ce9 commit dea5569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/cut-a-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ tmp=$(mktemp -d)
trap 'rm -r -- "$tmp"' 0

git archive --format=tar --prefix="$pkg/" "$master" | tar xC "$tmp" \
--exclude=.gitignore --exclude=install --exclude=\*cut-a-release\*
--exclude=.gitignore --exclude=install --exclude=package

mkdir -- "$tmp/$pkg/experimental"
git format-patch -o "$tmp/$pkg/experimental" "$master".."$experimental" >/dev/null
Expand Down

0 comments on commit dea5569

Please sign in to comment.