From 2c19095a81b8c9ff9ad6f4b0850ff837e86f4625 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Wed, 2 Aug 2023 09:37:45 -0400 Subject: [PATCH] chore: fix formatting and version numbering Signed-off-by: IThundxr --- src/webserver/github.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webserver/github.ts b/src/webserver/github.ts index 3446d6f..4456d6b 100644 --- a/src/webserver/github.ts +++ b/src/webserver/github.ts @@ -72,7 +72,7 @@ const actionStart = async (client: Client, req: Request) => { .setDescription( `## Build Status: Build is running for **#${workflow_run.run_number}** ${process.env.LOADING_EMOJI} - Version: ${version} + Version: **${version}** ${commitString} ` ) @@ -133,7 +133,7 @@ const actionCompleted = async (client: Client, req: Request) => { .setDescription( `## Build Status: **${status} #${workflow_run.run_number}** in ${timeTaken} - Version: ${version} + Version: **${version}** ${commitString} ` ) @@ -245,7 +245,7 @@ const getVersion = async (apiurl: URL, run_number: string) => { if (modVersionLine && minecraftVersionLine) { const modVersion = modVersionLine.split('=')[1].trim(); const minecraftVersion = minecraftVersionLine.split('=')[1].trim(); - return `${modVersion}-mc${minecraftVersion}.${run_number}`; + return `${modVersion}-mc${minecraftVersion}-build.${run_number}`; } else { return "Couldn't find version"; }