mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 04:46:11 +02:00
✨ Improve cache handling.
And make the devenv http server behave similar to a production environment (related to cache handling).
This commit is contained in:
parent
935b835853
commit
8c18e9bfbf
12 changed files with 160 additions and 8 deletions
|
@ -3,6 +3,8 @@
|
|||
source ~/.bashrc
|
||||
set -ex
|
||||
|
||||
TAG=`git log -n 1 --pretty=format:%H -- ./`
|
||||
|
||||
npm ci
|
||||
|
||||
export NODE_ENV=production;
|
||||
|
@ -10,7 +12,7 @@ export NODE_ENV=production;
|
|||
# Clean the output directory
|
||||
npx gulp clean || exit 1;
|
||||
|
||||
shadow-cljs release main
|
||||
shadow-cljs release main --config-merge "{:release-version \"${TAG}\"}"
|
||||
npx gulp build || exit 1;
|
||||
npx gulp dist:clean || exit 1;
|
||||
npx gulp dist:copy || exit 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue