Add codename to version string and to bootloader title#1850
Conversation
|
You can get the same effect using the |
Thus meaning we should set the |
|
By default it could be set to GitHub builds could use |
|
And/or link it to the release git tags and branch - if it is a tagged release, use the tag version (thus it will also indicate it is a rc). If it's not, it's a dev or self-build. But ideally it should be automated - unlike the codename - which needs updating for each release, and should be set to the new name after a release, not dev. It's not a secret, it's the working name for that release. Then builds would show
|
5a72ab9 to
afc20fe
Compare
|
Please double check if I got this right: Lines 51 to 59 in e15156e The result on radio with present state for GitHub built firmware (do not like "merge" string though so much, would prefer "dev" instead): The output of the same source code locally built w/o specifying Also, a test build warning screen is shown now on power-up, although at the moment only for self-built versions where EDGETX_VERSION_SUFFIX is not defined: Ideally, this could be shown for all non-release versions. |
Changed to lower case for "nightly" and "release".
Most definitely not ... this was an intentional change right from the start AFAIK, and regardless, I do not want to see this re-introduced. It is annoying AF when running nightly releases regularly. It is also inappropriate when doing a build that for instance just turns on supported flags. The only place I see it being valid to be turned on in PRs, and even then, I'm on the fence as to whether it should be on or off there. Regarding the tags, |
There was a problem hiding this comment.
I think this is a fantastic starting point. I would still like to see PR number exposed if it's a PR build, but that seems to be be somewhat involved to tease out of github, so can be something for a future PR.
Most importantly, this communicates that either a development, a release build, or a self build is in use :)
…ffix (#1850) * Add codename to version string and to bootloader title. * Use EDGETX_VERSION_SUFFIX instead of CODENAME * use "dev" instead of "merge" and "custom" instead of "SB". Changed to lower case for "nightly" and "release". * Show TEST BUILD warning screen for all non release builds. * Improved logic * Removed TEST_BUILD_WARNING, reverted to "merge" and changed to "selfbuild".
…ffix (#1850) * Add codename to version string and to bootloader title. * Use EDGETX_VERSION_SUFFIX instead of CODENAME * use "dev" instead of "merge" and "custom" instead of "SB". Changed to lower case for "nightly" and "release". * Show TEST BUILD warning screen for all non release builds. * Improved logic * Removed TEST_BUILD_WARNING, reverted to "merge" and changed to "selfbuild".







Solves #1847 by adding codename to version string in the VERSION page and also on the bootloader title.
Here, as tested on TX16S mkII physical target (notice the addition of
-dev):