mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
* Fix to show the notification for updating service worker * cleanup * Add release notes for PR #5963 * trigger pipeline --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
19 lines
397 B
Bash
Executable File
19 lines
397 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
ROOT=`dirname $0`
|
|
cd "$ROOT/.."
|
|
|
|
echo "Building the browser..."
|
|
|
|
rm -fr build
|
|
|
|
export IS_GENERIC_BROWSER=1
|
|
export REACT_APP_BACKEND_WORKER_HASH=`ls "$ROOT"/../public/kcab/kcab.worker.*.js | sed 's/.*kcab\.worker\.\(.*\)\.js/\1/'`
|
|
|
|
yarn build
|
|
|
|
rm -fr build-stats
|
|
mkdir build-stats
|
|
mv build/kcab/stats.json build-stats/loot-core-stats.json
|
|
mv ./stats.json build-stats/web-stats.json
|