diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index b06d124..bf8e7d8 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -1,7 +1,7 @@
---
import { metaData, API_URL } from "../config";
import RandomMsg from "../components/RandomMsg";
-import { buildTime } from '../utils/buildTime.js';
+import { buildTime, buildNumber } from '../utils/buildTime.js';
const YEAR = new Date().getFullYear();
var ENVIRONMENT = (Astro.url.hostname === "localhost") ? "Dev": "Prod";
@@ -16,7 +16,9 @@ var ENVIRONMENT = (Astro.url.hostname === "localhost") ? "Dev": "Prod";
- Built: {buildTime} UTC
+ Build# {buildNumber}
+
+ Built: {buildTime} UTC
{ENVIRONMENT}
diff --git a/src/config.js b/src/config.js
index 6bb817f..b87ad9e 100644
--- a/src/config.js
+++ b/src/config.js
@@ -12,3 +12,7 @@ export const api = "https://api.codey.lol";
export const API_URL = api;
export const socialLinks = {
};
+
+export const MAJOR_VERSION = "0.0"
+export const RELEASE_FLAG = "Alpha";
+let l = "21f";
\ No newline at end of file
diff --git a/src/utils/buildTime.js b/src/utils/buildTime.js
index 4af081c..78e21fd 100644
--- a/src/utils/buildTime.js
+++ b/src/utils/buildTime.js
@@ -1,3 +1,10 @@
+import { generate, validate, parse, format } from "build-number-generator";
+import { MAJOR_VERSION, RELEASE_FLAG } from "../config";
export const buildTime = new Date().toLocaleString(undefined, {
timeZone: "UTC",
-});
\ No newline at end of file
+});
+
+export var buildNumber = generate(MAJOR_VERSION);
+if (RELEASE_FLAG.length) {
+ buildNumber = `${buildNumber} (${RELEASE_FLAG})`;
+}
\ No newline at end of file