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

Fixes to the auto version number script #589

Merged
merged 4 commits into from
Apr 1, 2023

Commits on Apr 1, 2023

  1. Fixes to the auto version number script

    Updated the auto version number script to use the correct GitHub environment variables to get the version number when running on GitHub Actions.
    
    Added the `_modified` suffix to the version number when the working directory is not clean. This is to ensure that the version number is always different when the working directory is not clean.
    
    Added the `GIT_HASH` define with the short hash of the current commit. This is to make it easier to identify the exact commit that was used to build the binary.
    
    Fixes #584
    jeremypoulter committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    551a1e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a58e245 View commit details
    Browse the repository at this point in the history
  3. Changed to be able to run from the command line

    This allows us to get the build flags without the full PlatformIO build process
    jeremypoulter committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    33b78a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a2ce2fd View commit details
    Browse the repository at this point in the history