-
-
Notifications
You must be signed in to change notification settings - Fork 129
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 all commits
c3d7f57
9613ff5
9699d86
000160d
9178a76
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."; | ||
| #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; | ||
|
Comment on lines
63
to
65
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 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably requires wording change