Skip to content

Commit

Permalink
exclude dev tags for clifford
Browse files Browse the repository at this point in the history
As title
  • Loading branch information
esc committed Sep 30, 2021
1 parent fd58d5c commit b819305
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion switchboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ def clone_url(self):

@property
def git_ref(self):
return(git_ls_remote_tags(self.clone_url)[-1])
# clifford has dev tags, we ignore those by assuming they contain the
# string 'dev'.
return([t for t in git_ls_remote_tags(self.clone_url)
if 'dev' not in t][-1])

@property
def conda_dependencies(self):
Expand Down

0 comments on commit b819305

Please sign in to comment.