Parcourir la source

VUE_APP_GIT_REPO_VERSION for production-temp

Michael Wang il y a 5 ans
Parent
commit
69697cee60
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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();