Skip to content

Commit da7b653

Browse files
committed
Use the application version to build
1 parent ce4be7d commit da7b653

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/build.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// build.ts - Handles building the application with version information
22

33
import * as path from "@std/path";
4+
import { VERSION } from "../version.ts";
45

56
// Get the version from environment or use date-based versioning
67
const getVersion = () => {
@@ -10,7 +11,7 @@ const getVersion = () => {
1011
return envVersion;
1112
}
1213

13-
return "DEV";
14+
return VERSION;
1415
};
1516

1617
// Build the application with the version baked in

0 commit comments

Comments
 (0)