diff --git a/Minecraft.Client/Common/BuildVer.h b/Minecraft.Client/Common/BuildVer.h index 7707f5f15..babe75660 100644 --- a/Minecraft.Client/Common/BuildVer.h +++ b/Minecraft.Client/Common/BuildVer.h @@ -1,6 +1,6 @@ #pragma once -#define VER_PRODUCTBUILD -1 +#define VER_PRODUCTBUILD 560 #define VER_PRODUCTVERSION_STR_W L"DEV (unknown)" #define VER_FILEVERSION_STR_W VER_PRODUCTVERSION_STR_W #define VER_NETWORK VER_PRODUCTBUILD diff --git a/Minecraft.Client/prebuild.ps1 b/Minecraft.Client/prebuild.ps1 index d0ecb828b..cbd8fb5fa 100644 --- a/Minecraft.Client/prebuild.ps1 +++ b/Minecraft.Client/prebuild.ps1 @@ -1,12 +1,13 @@ $sha = (git rev-parse --short=7 HEAD) $ref = (git symbolic-ref HEAD) -$build = -1 +$build = 560 # Note: Build/network has to stay static for now, as without it builds wont be able to play together. We can change it later when we have a better versioning scheme in place. $suffix = "" +# TODO Re-enable # If we are running in GitHub Actions, use the run number as the build number -if ($env:GITHUB_RUN_NUMBER) { - $build = $env:GITHUB_RUN_NUMBER -} +# if ($env:GITHUB_RUN_NUMBER) { +# $build = $env:GITHUB_RUN_NUMBER +# } # If we have uncommitted changes, add a suffix to the version string if (git status --porcelain) {