Skip to content

Commit

Permalink
Fix nasa#244, making version string PEP 440-compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
dzbaker authored Oct 31, 2024
1 parent 821a163 commit b7fe374
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

# Development Build Macro Definitions
_cFS_GrndSys_build_number = 2
_cFS_GrndSys_build_baseline = "equuleus-rc1"
_cFS_GrndSys_build_baseline = "7.0"
_cFS_GrndSys_build_dev_baseline = "equuleus-rc1"
_cFS_GrndSys_build_dev_cycle = "equuleus-rc2"
_cFS_GrndSys_build_codename = "Equuleus"

Expand All @@ -37,7 +38,7 @@

# Development Build format for __version__
# Baseline git tag + Number of commits since baseline
__version__ = "+dev".join((_cFS_GrndSys_build_baseline,str(_cFS_GrndSys_build_number)))
__version__ = "+".join((_cFS_GrndSys_build_baseline, _cFS_GrndSys_build_dev_baseline + "_dev" + str(_cFS_GrndSys_build_number)))

# Development Build format for __version_string__
_version_string = " cFS-GroundSystem DEVELOPMENT BUILD\n " + __version__
Expand Down

0 comments on commit b7fe374

Please sign in to comment.