diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-02-09 11:21:01 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-02-09 11:21:01 +0100 |
commit | 8ef55ac7c8cc5fba87e589f6af3bc327caa73487 (patch) | |
tree | c98f41d7d2f45b8e88a588a0c1ddaedc6c702e9b | |
parent | 6e72ae646857f91fc817a7a572fbec7d86e61617 (diff) | |
download | hoverbit-ble-8ef55ac7c8cc5fba87e589f6af3bc327caa73487.tar.gz hoverbit-ble-8ef55ac7c8cc5fba87e589f6af3bc327caa73487.zip |
:hammer: Dont add .bak files to cache!
-rwxr-xr-x | postbuild.sh | 2 |
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 |