Compare commits
3 Commits
05623222c8
...
132e49b589
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
132e49b589 | ||
|
|
19b1c73dca | ||
|
|
b8ae68eff8 |
7
pre-commit
Executable file
7
pre-commit
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
VAR="const currentVersion = '$RANDOM';"
|
||||||
|
sed "1s/.*/$VAR/" sw.js > sw.js.new
|
||||||
|
mv sw.js.new sw.js
|
||||||
|
git add sw.js
|
||||||
Reference in New Issue
Block a user