We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4923be8 commit 607119aCopy full SHA for 607119a
release.py
@@ -42,10 +42,13 @@ def nonempty_lines(text):
42
return lines
43
44
def workspace_is_clean():
45
+ print('Checking if workspace is clean.')
46
p = subprocess.Popen('git status --untracked-files=no --porcelain',
47
shell=True, stdout=subprocess.PIPE,
48
stderr=subprocess.STDOUT)
- return len(p.stdout.readlines()) == 0
49
+ out = [l.decode() for l in p.stdout.readlines()]
50
+ print('git status output:\n%s' % "\n".join(out))
51
+ return len(out) == 0
52
53
def is_published_release(version_tag):
54
github_token = os.environ.get('GITHUB_TOKEN')
0 commit comments