Skip to content

Commit

Permalink
Fixed publishing script.
Browse files Browse the repository at this point in the history
  • Loading branch information
marciot committed Feb 19, 2021
1 parent bd46ebb commit 68b18e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build-web-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ customSliceFilter() {
for f in $FILES
do
echo Rewriting slice operator on $f
perl -i -00pe 's/{\s*...([a-zA-Z.]+)\,([^{}]*)}/Object.assign({\2},\1)/igs' $f
perl -i -00pe 's/{([^{}]*)\,\s*...([a-zA-Z.]+)\s*}/Object.assign({\1},\2)/igs' $f
perl -i -00pe 's/{\s*\.\.\.([a-zA-Z.]+)\,([^{}]*)}/Object.assign({\2},\1)/igs' $f
perl -i -00pe 's/{([^{}]*)\,\s*\.\.\.([a-zA-Z.]+)\s*}/Object.assign({\1},\2)/igs' $f
done
}

Expand Down
2 changes: 1 addition & 1 deletion src-app/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ importScripts('lib/util/misc/Wikify.js');
// Based on https://deanhume.com/displaying-a-new-version-available-progressive-web-app/

const info = {
cacheVersion: 75
cacheVersion: 83
};

const cacheName = 'v' + info.cacheVersion;
Expand Down

0 comments on commit 68b18e5

Please sign in to comment.