diff --git a/cmd/update_version.ts b/cmd/update_version.ts index c37749c3..896ea642 100644 --- a/cmd/update_version.ts +++ b/cmd/update_version.ts @@ -1,5 +1,3 @@ -import { version } from "../version.ts"; - export async function updateVersionFile() { const command = new Deno.Command("git", { args: ["describe", "--tags", "--long"], @@ -11,9 +9,7 @@ export async function updateVersionFile() { const commitVersion = new TextDecoder().decode(stdout).trim(); const versionFilePath = "./public_version.ts"; - const versionContent = ` -export const publicVersion = "${version}-${commitVersion}"; -`; + const versionContent = `export const publicVersion = "${commitVersion}";`; await Deno.writeTextFile(versionFilePath, versionContent); console.log(