Skip to content

Commit

Permalink
chore: fix formatting and version numbering
Browse files Browse the repository at this point in the history
Signed-off-by: IThundxr <[email protected]>
  • Loading branch information
IThundxr committed Aug 2, 2023
1 parent c106c46 commit 2c19095
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webserver/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const actionStart = async (client: Client, req: Request) => {
.setDescription(
`## Build <t:${unix_started_at}:R>
Status: Build is running for **#${workflow_run.run_number}** ${process.env.LOADING_EMOJI}
Version: ${version}
Version: **${version}**
${commitString}
`
)
Expand Down Expand Up @@ -133,7 +133,7 @@ const actionCompleted = async (client: Client, req: Request) => {
.setDescription(
`## Build <t:${unix_started_at}:R>
Status: **${status} #${workflow_run.run_number}** in ${timeTaken}
Version: ${version}
Version: **${version}**
${commitString}
`
)
Expand Down Expand Up @@ -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";
}
Expand Down

0 comments on commit 2c19095

Please sign in to comment.