mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-10 07:26:48 +02:00
✨ New Login Page (#1504)
This commit is contained in:
parent
655f38203a
commit
f5ab25ed1f
67 changed files with 1669 additions and 713 deletions
8
scripts/inject-version.js
Normal file
8
scripts/inject-version.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
const { execSync } = require("child_process");
|
||||
const packageJson = require("../package.json");
|
||||
|
||||
const version = packageJson.version;
|
||||
const gitHash = execSync("git rev-parse --short HEAD").toString().trim();
|
||||
const versionWithHash = `${version}-${gitHash}`;
|
||||
|
||||
console.log(versionWithHash);
|
Loading…
Add table
Add a link
Reference in a new issue