Skip to content

Commit

Permalink
🚧 Improve repository cleanup (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anatole-DC authored Jan 3, 2024
1 parent df98e70 commit 9bc2267
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
chmod +x script/rename.sh
CAPITALIZED_NAME=$(echo ${{ github.event.repository.name }} | sed -E 's/([a-z0-9])([A-Z])/\1 \2/g; s/[-_]/ /g' | awk '{print toupper($0)}')
./script/rename.sh -f README.md --find "PYTHON TEMPLATE" --replace-with "$CAPITALIZED_NAME"
./script/rename.sh -f README.md --from 12 --to 16 --replace-with "\n"
./script/rename.sh -f README.md --find "Anatole-DC/template_python" --replace-with "$GITHUB_REPOSITORY"
./script/rename.sh -f README.md --find "template_python" --replace-with ${{ github.event.repository.name }}
- name: Remove cleanup files
run : |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ This template is configured to work with the VSCode editor, but it does not requ
### Clone the repository

```bash
git clone <you-repository url>
cd <repostory-folder>
git clone https://github.com/Anatole-DC/template_python
cd template_python
```

### Install the dependencies
Expand Down

0 comments on commit 9bc2267

Please sign in to comment.