diff options
Diffstat (limited to 'bin/qmk')
-rwxr-xr-x | bin/qmk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ with open('requirements.txt', 'r') as fd: | |||
38 | 38 | ||
39 | # Figure out our version | 39 | # Figure out our version |
40 | command = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags'] | 40 | command = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags'] |
41 | result = subprocess.run(command, universal_newlines=True, capture_output=True) | 41 | result = subprocess.run(command, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
42 | 42 | ||
43 | if result.returncode == 0: | 43 | if result.returncode == 0: |
44 | os.environ['QMK_VERSION'] = 'QMK ' + result.stdout.strip() | 44 | os.environ['QMK_VERSION'] = 'QMK ' + result.stdout.strip() |