Refactor qmk compile-json to qmk compile (#6592)

This commit is contained in:
skullydazed authored and GitHub committed 2019-08-25 11:58:24 -07:00
1 parent c289a4cb20
commit f22c5c17b6
5 files changed
+66 -50

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ with open('requirements.txt', 'r') as fd:
# Figure out our version
command = ['git', 'describe', '--abbrev=6', '--dirty', '--always', '--tags']
result = subprocess.run(command, universal_newlines=True, capture_output=True)
result = subprocess.run(command, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if result.returncode == 0:
os.environ['QMK_VERSION'] = 'QMK ' + result.stdout.strip()