Skip to content

Commit

Permalink
infra: bumpver: Fix variable naming
Browse files Browse the repository at this point in the history
Fix the variable naming. We are not on RHEL-8 anymore :).
  • Loading branch information
jkonecny12 committed Dec 1, 2023
1 parent 90b4f35 commit 52bebed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/makebumpver
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ class MakeBumpVer:
m = re.match(branch_pattern, self.git_branch)
if m:
return m.group(1)
rhel8_branch_pattern = r"^rhel-(\d+)(.*)"
m = re.match(rhel8_branch_pattern, self.git_branch)
rhel_branch_pattern = r"^rhel-(\d+)(.*)"
m = re.match(rhel_branch_pattern, self.git_branch)
if m:
return m.group(1)
return False
Expand Down
4 changes: 2 additions & 2 deletions scripts/makebumpver.j2
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ class MakeBumpVer:
m = re.match(branch_pattern, self.git_branch)
if m:
return m.group(1)
rhel8_branch_pattern = r"^rhel-(\d+)(.*)"
m = re.match(rhel8_branch_pattern, self.git_branch)
rhel_branch_pattern = r"^rhel-(\d+)(.*)"
m = re.match(rhel_branch_pattern, self.git_branch)
if m:
return m.group(1)
return False
Expand Down

0 comments on commit 52bebed

Please sign in to comment.