From 6634836d421ccb787200d8700b76c7cfdf0cb9c4 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:37:26 -0700 Subject: [PATCH] CI : Fix release version check --- .github/workflows/main/setBuildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main/setBuildVars.py b/.github/workflows/main/setBuildVars.py index 3eaef9c91e..ea203539a0 100755 --- a/.github/workflows/main/setBuildVars.py +++ b/.github/workflows/main/setBuildVars.py @@ -123,7 +123,7 @@ for line in buildPy.readlines() : versionMatch = versionRe.match( line ) if versionMatch : - version = versionMatch.group( 2 ).strip( "'\"" ) + version = versionMatch.group( 1 ).strip( "'\"" ) if version != tag : sys.stderr.write( "Tag \"{}\" does not match build.py __version \"{}\"\n".format( tag, version ) )