-
-
Notifications
You must be signed in to change notification settings - Fork 148
Version Management for release 0.5 and Beyond #2098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 5 commits
c3d7f57
9613ff5
9699d86
000160d
9178a76
a918fd9
156b4ac
770ebbd
f382f08
578f834
c5e0042
4969b9e
cca4bae
34d0f58
ca19e75
6a8b74d
3dc36c4
baaf7c8
3f34bc7
91d45e5
934c6d7
66cdb46
b120288
e3f3c5c
df6a7c9
27ee94e
a5dad45
b4e7d7e
ab6de15
1a6dce6
14817e4
bf9d92b
5d8be21
d43c814
ab2b516
8aa514c
e5707b0
2484dcd
8a63b43
f337870
69d8d02
4c5685d
be7fe37
2e99b20
f22ee78
8972af1
364e62c
151cc4c
494a24d
1790e86
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ | |
| #include "Utilities/AresHelper.h" | ||
| #include "Utilities/Parser.h" | ||
|
|
||
| #ifndef IS_RELEASE_VER | ||
| #ifndef RELEASE | ||
| bool HideWarning = false; | ||
| #endif | ||
|
|
||
|
|
@@ -30,7 +30,7 @@ bool Phobos::Optimizations::DisableSyncLogging = false; | |
|
|
||
| #ifdef STR_GIT_COMMIT | ||
| const wchar_t* Phobos::VersionDescription = L"Phobos nightly build (" STR_GIT_COMMIT L" @ " STR_GIT_BRANCH L"). DO NOT SHIP IN MODS!"; | ||
| #elif !defined(IS_RELEASE_VER) | ||
| #elif !defined(RELEASE) | ||
| const wchar_t* Phobos::VersionDescription = L"Phobos development build #" _STR(BUILD_NUMBER) L". Please test the build before shipping."; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably requires wording change |
||
| #else | ||
| //const wchar_t* Phobos::VersionDescription = L"Phobos release build v" FILE_VERSION_STR L"."; | ||
|
|
@@ -59,7 +59,7 @@ void Phobos::CmdLineParse(char** ppArgs, int nNumArgs) | |
| { | ||
| Phobos::AppIconPath = ppArgs[++i]; | ||
| } | ||
| #ifndef IS_RELEASE_VER | ||
| #ifndef RELEASE | ||
| if (_stricmp(pArg, "-b=" _STR(BUILD_NUMBER)) == 0) | ||
| { | ||
| HideWarning = true; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. opinion on instead asking the user to write a full version?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think full precise version name should be used, and yeah I agree arg name should probably be changed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. -IKnowWhatImDoing
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
That sounds like a Boolean value needs to be filled in instead of a version number string :P |
||
|
|
@@ -232,7 +232,7 @@ DEFINE_HOOK(0x683E7F, ScenarioClass_Start_Optimizations, 0x7) | |
| return 0; | ||
| } | ||
|
|
||
| #ifndef IS_RELEASE_VER | ||
| #ifndef RELEASE | ||
| DEFINE_HOOK(0x4F4583, GScreenClass_DrawText, 0x6) | ||
| { | ||
| #ifndef STR_GIT_COMMIT | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.