Skip to content

Commit

Permalink
🔧 Provide git describe at build time
Browse files Browse the repository at this point in the history
Not yet working for some reason, but will debug after upgrading Next.js
  • Loading branch information
AndreMiras committed Dec 8, 2024
1 parent e096ca8 commit 1559225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"dev": "next dev",
"dev:debug": "NODE_OPTIONS='--inspect' next dev",
"build": "next build",
"build": "NEXT_PUBLIC_GIT_DESCRIBE=$(git describe --tags --always) next build",
"start": "next start",
"lint:prettier": "prettier --check src docs .github *.json *.md *.mjs",
"format:prettier": "prettier --write src docs .github *.json *.md *.mjs",
Expand Down

0 comments on commit 1559225

Please sign in to comment.