fix: update dev and build scripts to set NEXT_PUBLIC_GIT_COMMIT environment variable
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "NEXT_PUBLIC_GIT_COMMIT=$(git rev-parse --short HEAD) next dev",
|
||||||
"build": "NEXT_PUBLIC_GIT_COMMIT=$(git rev-parse --short HEAD) next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "eslint",
|
"lint": "eslint",
|
||||||
"test": "vitest",
|
"test": "vitest",
|
||||||
|
|||||||
Reference in New Issue
Block a user