fix: Hash in Build #4
continuous-integration/drone/push Build is passing Details

main
Flycro 2024-03-23 23:51:48 +01:00
parent b0ea02928a
commit 4e65112476
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"serve": "cross-env PORT=3000 HOST=127.0.0.1 node .output/server/index.mjs", "serve": "cross-env PORT=3000 HOST=127.0.0.1 node .output/server/index.mjs",
"build": "cross-env GIT_HASH=$(git rev-parse --short HEAD) sh -c 'nuxi cleanup && nuxi build'", "build": "GIT_HASH=`git rev-parse --short HEAD` nuxi build",
"cleanup": "nuxi cleanup", "cleanup": "nuxi cleanup",
"dev": "GIT_HASH=`git rev-parse --short HEAD` nuxt dev --port=3000 --host=127.0.0.1", "dev": "GIT_HASH=`git rev-parse --short HEAD` nuxt dev --port=3000 --host=127.0.0.1",
"generate": "nuxt generate", "generate": "nuxt generate",