diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-02-09 12:40:18 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-02-09 12:40:18 +0100 |
commit | c0b90b2a8c9c3208f6a16277a0cfe02170cfb91f (patch) | |
tree | 53a2ccc8c56a811d56a54352dbf79f874a0963d4 | |
parent | 48908c9d83967731b929d912c165e7cb12aa53ae (diff) | |
download | hoverbit-ble-c0b90b2a8c9c3208f6a16277a0cfe02170cfb91f.tar.gz hoverbit-ble-c0b90b2a8c9c3208f6a16277a0cfe02170cfb91f.zip |
:hammer: Add base path to cache
-rwxr-xr-x | postbuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postbuild.sh b/postbuild.sh index 02c99c3..9f917bc 100755 --- a/postbuild.sh +++ b/postbuild.sh @@ -18,7 +18,7 @@ sed -i".bak" "s/{{ VERSION }}/$VERSION/g" index.html sed -i".bak" "s/{{ VERSION }}/$VERSION/g" service-worker.js tput setaf 4; echo "> Add cache-files to webmanifest..."; tput sgr0 -cache_files=""; +cache_files="'$PUBLISH_URL'"; for file in *; do if [[ "$file" =~ (manifest.webmanifest|.git|.bak) ]]; then continue |