|
@@ -19,9 +19,9 @@ const revision = require("child_process")
|
|
|
const fs = require("fs");
|
|
|
console.log(" 当前的git版本为 " + revision);
|
|
|
|
|
|
-fs.appendFileSync(
|
|
|
+fs.writeFileSync(
|
|
|
".env.development.local",
|
|
|
- "VUE_APP_GIT_REPO_VERSION=开发环境-" + buildDate + " - " + revision
|
|
|
+ "\nVUE_APP_GIT_REPO_VERSION=开发环境-" + buildDate + " - " + revision
|
|
|
);
|
|
|
|
|
|
fs.writeFileSync(
|