Drone: make node.js build use uuid package instead of uuidgen command
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
cdb17c8e4a
commit
db98b5758f
@ -28,7 +28,7 @@ steps:
|
|||||||
- sed -i '1d' ./node_modules/ngx-monaco-editor/lib/types.d.ts
|
- sed -i '1d' ./node_modules/ngx-monaco-editor/lib/types.d.ts
|
||||||
- ./node_modules/.bin/ionic build --prod
|
- ./node_modules/.bin/ionic build --prod
|
||||||
- ./node_modules/.bin/ngsw-config ./www/ ./ngsw-config.json /i
|
- ./node_modules/.bin/ngsw-config ./www/ ./ngsw-config.json /i
|
||||||
- echo -n $(uuidgen) | tee ./www/version.html
|
- echo -n $(npx uuid) | tee ./www/version.html
|
||||||
environment:
|
environment:
|
||||||
NODE_OPTIONS: --openssl-legacy-provider
|
NODE_OPTIONS: --openssl-legacy-provider
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user