mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 19:51:45 +02:00
Version 99.3 (Build 3384)
This commit is contained in:
@@ -59,14 +59,14 @@ option(
|
|||||||
'display_version_minor',
|
'display_version_minor',
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
min: 0,
|
min: 0,
|
||||||
value: 2,
|
value: 3,
|
||||||
description: 'Minor component of the display version, should more or less map to the PATCH version in semantic versioning'
|
description: 'Minor component of the display version, should more or less map to the PATCH version in semantic versioning'
|
||||||
)
|
)
|
||||||
option(
|
option(
|
||||||
'build_num',
|
'build_num',
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
min: 0,
|
min: 0,
|
||||||
value: 383,
|
value: 384,
|
||||||
description: 'Build number, should be strictly monotonously increasing across public releases'
|
description: 'Build number, should be strictly monotonously increasing across public releases'
|
||||||
)
|
)
|
||||||
option(
|
option(
|
||||||
@@ -80,14 +80,14 @@ option(
|
|||||||
'upstream_version_minor',
|
'upstream_version_minor',
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
min: 0,
|
min: 0,
|
||||||
value: 2,
|
value: 3,
|
||||||
description: 'Minor component of the upstream display version, mod owners should not change this but merge upstream changes to it'
|
description: 'Minor component of the upstream display version, mod owners should not change this but merge upstream changes to it'
|
||||||
)
|
)
|
||||||
option(
|
option(
|
||||||
'upstream_build_num',
|
'upstream_build_num',
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
min: 0,
|
min: 0,
|
||||||
value: 383,
|
value: 384,
|
||||||
description: 'Upstream build number, mod owners should not change this but merge upstream changes to it'
|
description: 'Upstream build number, mod owners should not change this but merge upstream changes to it'
|
||||||
)
|
)
|
||||||
option(
|
option(
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
constexpr auto currentVersion = UPSTREAM_VERSION.displayVersion;
|
constexpr auto currentVersion = UPSTREAM_VERSION.displayVersion;
|
||||||
constexpr auto nextVersion = Version(99, 2);
|
constexpr auto nextVersion = Version(99, 3);
|
||||||
static_assert(!ALLOW_FAKE_NEWER_VERSION || nextVersion >= currentVersion);
|
static_assert(!ALLOW_FAKE_NEWER_VERSION || nextVersion >= currentVersion);
|
||||||
|
|
||||||
constexpr auto effectiveVersion = ALLOW_FAKE_NEWER_VERSION ? nextVersion : currentVersion;
|
constexpr auto effectiveVersion = ALLOW_FAKE_NEWER_VERSION ? nextVersion : currentVersion;
|
||||||
|
Reference in New Issue
Block a user