Skip to content

Commit e2667e7

Browse files
committed
Exlude .gitignore from release tarballs
The `.gitignore` files should not be included in the release tarballs because they hide required files and may conflict with existing `.gitignore` files when the tarball is extracted into a git repository. Closes: #3559 Fixes: 04f7009 ("Adds a simple release script")
1 parent 0fb4aff commit e2667e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ MY_DIR=${PWD##*/}
1111
./build.sh
1212

1313
cd ..
14-
tar --transform "s/^$MY_DIR/$DIR_NAME/" -cvzf $TAR_NAME --exclude .git $MY_DIR
14+
tar --transform "s/^$MY_DIR/$DIR_NAME/" -cvzf $TAR_NAME --exclude .git --exclude .gitignore $MY_DIR
1515

1616
sha256sum $TAR_NAME > $TAR_NAME.sha256
1717
gpg --detach-sign -a $TAR_NAME

0 commit comments

Comments
 (0)