Browse Source

VUE_APP_GIT_REPO_VERSION for production-temp

Michael Wang 5 years ago
parent
commit
69697cee60
1 changed files with 5 additions and 0 deletions
  1. 5 0
      prebuild.js

+ 5 - 0
prebuild.js

@@ -39,4 +39,9 @@ fs.writeFileSync(
   "VUE_APP_GIT_REPO_VERSION=" + buildDate + " - " + revision
 );
 
+fs.writeFileSync(
+  ".env.production-temp.local",
+  "VUE_APP_GIT_REPO_VERSION=" + buildDate + " - " + revision
+);
+
 console.log();