This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +4
-5
lines changed Expand file tree Collapse file tree 5 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2424dev : before_action
2525 @$(JSON_CLI ) -s ' .[0] * .[1]' config/config.json config/config.dev.json > /tmp/config.json
2626 @cp /tmp/config.json ./config/config.json
27+ npm run update.version
2728 npm run dev
2829
2930build :
Original file line number Diff line number Diff line change 1- export const APP_VERSION = '1.0.91 '
1+ export const APP_VERSION = '1.0.11 '
Original file line number Diff line number Diff line change 1414mkdir " ${PACKER_TMP_DIR} "
1515
1616echo " [Step 2/${TOTAL_STEPS} ] cp files to ${PACKER_TMP_DIR} ..."
17+ npm run update.version
1718cp -rf src server config public utils " ${PACKER_TMP_DIR} "
1819cp .env.production tsconfig.json .babelrc package.json package-lock.json next.config.js i18n.js global.d.ts " ${PACKER_TMP_DIR} "
1920cp Makefile Makefile.include.mk " ${PACKER_TMP_DIR} "
Original file line number Diff line number Diff line change 66 "dev" : " cross-env NODE_ENV=dev next dev" ,
77 "dev.boost" : " next-boost" ,
88 "ci" : " cross-env NODE_ENV=ci node server" ,
9- "prebuild" : " node -p \" 'export const APP_VERSION = ' + JSON.stringify(require('./package.json').version)\" > config/version.ts" ,
10- "prebuild.ci" : " npm run prebuild" ,
11- "prebuild.dev" : " npm run prebuild" ,
12- "prebuild.prod" : " npm run prebuild" ,
9+ "update.version" : " node -p \" 'export const APP_VERSION = ' + JSON.stringify(require('./package.json').version)\" > config/version.ts" ,
1310 "build" : " next build" ,
1411 "build:clean" : " run-s dist clean" ,
1512 "build.prod" : " cross-env NODE_ENV=production next build" ,
You can’t perform that action at this time.
0 commit comments