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 24
24
dev : before_action
25
25
@$(JSON_CLI ) -s ' .[0] * .[1]' config/config.json config/config.dev.json > /tmp/config.json
26
26
@cp /tmp/config.json ./config/config.json
27
+ npm run update.version
27
28
npm run dev
28
29
29
30
build :
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 14
14
mkdir " ${PACKER_TMP_DIR} "
15
15
16
16
echo " [Step 2/${TOTAL_STEPS} ] cp files to ${PACKER_TMP_DIR} ..."
17
+ npm run update.version
17
18
cp -rf src server config public utils " ${PACKER_TMP_DIR} "
18
19
cp .env.production tsconfig.json .babelrc package.json package-lock.json next.config.js i18n.js global.d.ts " ${PACKER_TMP_DIR} "
19
20
cp Makefile Makefile.include.mk " ${PACKER_TMP_DIR} "
Original file line number Diff line number Diff line change 6
6
"dev" : " cross-env NODE_ENV=dev next dev" ,
7
7
"dev.boost" : " next-boost" ,
8
8
"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" ,
13
10
"build" : " next build" ,
14
11
"build:clean" : " run-s dist clean" ,
15
12
"build.prod" : " cross-env NODE_ENV=production next build" ,
You can’t perform that action at this time.
0 commit comments