mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 19:51:45 +02:00
Disable fake newer version check for stable builds
It's really annoying when a stable workflow fails because nextVersion didn't get updated, whereas we actively seek out this variable when planning a new version between stables.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
constexpr auto currentVersion = UPSTREAM_VERSION.displayVersion;
|
||||
constexpr auto nextVersion = Version(99, 1);
|
||||
static_assert(nextVersion >= currentVersion);
|
||||
static_assert(!ALLOW_FAKE_NEWER_VERSION || nextVersion >= currentVersion);
|
||||
|
||||
constexpr auto effectiveVersion = ALLOW_FAKE_NEWER_VERSION ? nextVersion : currentVersion;
|
||||
|
||||
|
Reference in New Issue
Block a user