Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Aug 2, 2024
1 parent 13e17c5 commit fc652d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/branchCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
versionRe = re.compile( r"^(gaffer.*Version.*) = (\S+)" )
with open( "SConstruct" ) as sconstruct :
for line in sconstruct.readlines() :
versionMatch = versionRe.match( line )
if versionMatch :
versions[versionMatch.group( 1 )] = versionMatch.group( 2 ).strip( "'\"" )
version = [ int( gafferMilestoneVersion ), int( gafferMajorVersion ) ]
versionMatch = versionRe.match( line )
if versionMatch :
versions[versionMatch.group( 1 )] = versionMatch.group( 2 ).strip( "'\"" )
version = [ int( gafferMilestoneVersion ), int( gafferMajorVersion ) ]
currentVersion = version()
print( currentVersion )
Expand Down

0 comments on commit fc652d0

Please sign in to comment.