8 lines
147 B
Bash
Executable File
8 lines
147 B
Bash
Executable File
#!/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
|