Skip to content

Commit

Permalink
turn the trailing version rpm number into an extra number
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed Aug 16, 2011
1 parent d18472a commit 9ff11e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mopytools/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ def is_stage_or_prod(tag):

for tag in tags:
version = tag[len(TAG_PREFIX):]
if '-' in version:
version = version.replace('-', '.')
if selector(version):
return tag

Expand Down

0 comments on commit 9ff11e1

Please sign in to comment.