Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Changed Template Cleanup Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
YashTotale committed Mar 14, 2021
1 parent a355db0 commit 1f5c2bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/clean-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ replacer() {
fi
}

find . -type f -name "*" | grep -v node_modules | grep 'src\|public\|package.json\|package-lock.json\|CONTRIBUTING.md\|CODEOWNERS\|AUTHORS\|LICENSE.md\|.github/workflows/greetings.yml' | grep -v '.ico\|.png' | while read -r line; do
find . -type f -name "*" | grep -v node_modules | grep 'src\|public\|package.json\|package-lock.json\|CONTRIBUTING.md\|CODEOWNERS\|AUTHORS\|LICENSE.md\' | grep -v '.ico\|.png' | while read -r line; do
replacer $line
done

echo "Removing unnecessary files..."
rm -rf scripts .github/workflows/template-cleanup.yml LICENSE.md
rm -rf scripts .github/workflows/template-cleanup.yml .github/workflows/greetings.yml LICENSE.md

0 comments on commit 1f5c2bc

Please sign in to comment.