mirror of
https://github.com/xmanrui/OpenClaw-bot-review.git
synced 2026-07-27 04:23:28 +00:00
17 lines
362 B
JavaScript
17 lines
362 B
JavaScript
import { execSync } from "child_process";
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
env: {
|
|
NEXT_PUBLIC_DASHBOARD_VERSION: (() => {
|
|
try {
|
|
return execSync("git log -1 --format=%cd --date=format:%y.%m%d", { encoding: "utf8" }).trim();
|
|
} catch {
|
|
return "";
|
|
}
|
|
})(),
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|