Skip to content
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

ABOUT could have unique build number... #35

Open
distrakt opened this issue Dec 10, 2024 · 2 comments
Open

ABOUT could have unique build number... #35

distrakt opened this issue Dec 10, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@distrakt
Copy link

distrakt commented Dec 10, 2024

Version

alpha6

What is the issue?

With the sometimes-rapid-iteration, it would be useful to see a completely unique build number in the About box.

(In my projects, every build runs a script that increments version.h, so the about box or --help shows things like "build 4037".)

Can also include __DATE__ and __TIME__ to get a very unique number.

Ideally the build number is also on the file name, like FIRMWARE_5.6_4037.333 or whatever. (Right now I have two quick iterations in my downloads which are distinguished by an extra period in the filename :) )

@Miq1 Miq1 added the enhancement New feature or request label Dec 10, 2024
@Frudah
Copy link
Collaborator

Frudah commented Dec 14, 2024

Which builds are those? I usually use numbers for significant changes…. And letters for minor fixes. I am pretty lazy about ensuring the about page gets upgraded consistently, mostly because the quick iterations, but typically ensure the file names are reflective.

@Miq1
Copy link
Owner

Miq1 commented Dec 15, 2024

@Frudah I think @distrakt is referring to an automatically generated number (by a script in the build process) that will be incrementing with every build. I have similar mechanisms in Platformio to maintain this number and generate a build version string from it. Once implemented you will not have to care about it any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants