Add github hash to service worker to auto-update caches

This commit is contained in:
Pieter Vander Vennet 2022-06-03 13:41:49 +02:00
parent bbe1d7c35e
commit 631108954e
3 changed files with 6 additions and 5 deletions

View file

@ -10,8 +10,9 @@ npm run generate:translations
# Translation generation went fine - commit
git add langs/
git add assets/
git commit -m "Merge weblate trangsslations and regenerate translations"
git commit -m "Merge weblate translations and regenerate translations"
git push
else
echo "Generation of translations failed!"
git checkout HEAD
fi
git merge --abort
fi