Skip to content

Commit

Permalink
Release helper script
Browse files Browse the repository at this point in the history
  • Loading branch information
tdragon committed Oct 2, 2022
1 parent dd85c49 commit 3c5dc86
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ __pycache__
*~

.vscode
.venv
/output
9 changes: 9 additions & 0 deletions scripts/prepare_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
set -e
cd "$(dirname "${BASH_SOURCE[0]}")"/../custom_components

if [ -f ../output/reef_pi.zip ]; then
rm ../output/reef_pi.zip
fi
mkdir -p ../output
zip -x "*.pyc" -x "reef_pi/__pycache__/" -r ../output/reef_pi.zip reef_pi

0 comments on commit 3c5dc86

Please sign in to comment.