Skip to content

Commit

Permalink
Skip testing TPs for now
Browse files Browse the repository at this point in the history
Signed-off-by: Joffrey F <joffrey@docker.com>
  • Loading branch information
shin- committed Sep 1, 2018
1 parent 940b2a8 commit 1165301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/test/versions.py
Expand Up @@ -45,7 +45,7 @@ def parse(cls, version):
version = version.lstrip('v')
version, _, rc = version.partition('-')
if rc:
if 'rc' not in rc:
if 'rc' not in rc and 'tp' not in rc:
edition = rc
rc = None
elif '-' in rc:
Expand Down Expand Up @@ -123,7 +123,7 @@ def get_versions(tags):
for tag in tags:
try:
v = Version.parse(tag['name'])
if v not in BLACKLIST:
if v not in BLACKLIST and (not v.rc or 'tp' not in v.rc):
yield v
except ValueError:
print("Skipping invalid tag: {name}".format(**tag), file=sys.stderr)
Expand Down

0 comments on commit 1165301

Please sign in to comment.