From b7fe374191d8cd46152e7e844e4c81ce8dd898a3 Mon Sep 17 00:00:00 2001 From: dzbaker Date: Thu, 31 Oct 2024 09:13:40 -0400 Subject: [PATCH] Fix #244, making version string PEP 440-compliant --- _version.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_version.py b/_version.py index dda2ecf..24d3127 100644 --- a/_version.py +++ b/_version.py @@ -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" @@ -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__