mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01: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:
committed by
Alonso Torres
parent
935b835853
commit
8c18e9bfbf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user