Skip to content

Commit

Permalink
Updated about button to hide release/ branch names as well
Browse files Browse the repository at this point in the history
  • Loading branch information
eirannejad committed Nov 9, 2017
1 parent 0600658 commit fd8d61d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def __init__(self, xaml_file_name):
pyrvt_ver = versionmgr.get_pyrevit_version()
self.version_info.Text = ' v{}' \
.format(pyrvt_ver.get_formatted())
if pyrvt_repo.branch != 'master':
if pyrvt_repo.branch != 'master' \
and not pyrvt_repo.branch.startswith('release/'):
self.branch_info.Text = ' ({})'.format(pyrvt_repo.branch)
except Exception:
self.version_info.Text = ''
Expand Down

0 comments on commit fd8d61d

Please sign in to comment.