aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2021-02-09 11:21:01 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2021-02-09 11:21:01 +0100
commit8ef55ac7c8cc5fba87e589f6af3bc327caa73487 (patch)
treec98f41d7d2f45b8e88a588a0c1ddaedc6c702e9b
parent6e72ae646857f91fc817a7a572fbec7d86e61617 (diff)
downloadhoverbit-ble-8ef55ac7c8cc5fba87e589f6af3bc327caa73487.tar.gz
hoverbit-ble-8ef55ac7c8cc5fba87e589f6af3bc327caa73487.zip
:hammer: Dont add .bak files to cache!
-rwxr-xr-xpostbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/postbuild.sh b/postbuild.sh
index 5d5aa50..87fcd08 100755
--- a/postbuild.sh
+++ b/postbuild.sh
@@ -20,7 +20,7 @@ sed -i".bak" "s/{{ VERSION }}/$VERSION/g" service-worker.js
tput setaf 4; echo "> Add cache-files to webmanifest..."; tput sgr0
cache_files="";
for file in *; do
- if [[ "$file" =~ (manifest.webmanifest|*.git) ]]; then
+ if [[ "$file" =~ (manifest.webmanifest|*.git|*.bak) ]]; then
continue
fi
if [[ "$cache_files" == "" ]]; then