Skip to content

Commit f1eef36

Browse files
committed
Delete git folders. Fixes #455
1 parent 4127a63 commit f1eef36

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

bin/release.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#!/usr/bin/env bash
22

3-
# Cleanup uneeded .gitignore files.
3+
# Cleanup uneeded git content.
44
find . -name ".gitignore" -type f -delete
5+
echo "Finding and deleting .git folders."
6+
find . -name ".git" -type d -exec echo {} +
7+
find . -name ".git" -type d -exec rm -rf {} +
58

69
# Create a tag in the Wordpress.org SVN repo when after your build succeeds via Travis.
710
# https://github.com/BoldGrid/wordpress-tag-sync

0 commit comments

Comments
 (0)