Skip to content

Commit a2427df

Browse files
author
Felipe Zimmerle
committed
fix: ignore .git directory while generating the release file
1 parent 04f7009 commit a2427df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/release.sh

+1-1
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 $MY_DIR
14+
tar --transform "s/^$MY_DIR/$DIR_NAME/" -cvzf $TAR_NAME --exclude .git $MY_DIR
1515

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

0 commit comments

Comments
 (0)