Compare commits

...

5 Commits

Author SHA1 Message Date
Zach White 5a777c5de9 New release: 0.0.34 → 0.0.35 2020-05-27 20:58:33 -07:00
Zach White c51c898562 use cli.echo, not cli.args.echo. 2020-05-27 20:51:28 -07:00
Erovia 08ea23b087 Fix possibility of recursive execution 2020-05-26 21:43:15 +02:00
Erovia 0105405d83 Checking for the 'quantum' directory is better for long term 2020-05-10 17:41:30 +02:00
Erovia 92c57e2a46 Fix possibility of recursive execution 2020-05-10 17:30:30 +02:00
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
"""A program to help you work with qmk_firmware."""
__version__ = '0.0.34'
__version__ = '0.0.35'
+1 -1
View File
@@ -33,4 +33,4 @@ def question(question, boolean=True, default=''):
elif answer.lower() in ['n', 'no']:
return False
else:
cli.args.echo('Invalid answer!')
cli.echo('Invalid answer!')
+6 -1
View File
@@ -30,7 +30,12 @@ def in_qmk_firmware():
cur_dir = Path.cwd()
while len(cur_dir.parents) > 0:
found_bin = cur_dir / 'bin' / 'qmk'
if found_bin.is_file():
# An additional check for something that exists in the root of qmk_firmware,
# but not in the script's install directory, to avoid recursive execution,
# if started from install directory.
# e.g.: cd ~/.local/bin && ./qmk
found_quantum = cur_dir / 'quantum'
if found_bin.is_file() and found_quantum.is_dir():
command = [sys.executable, found_bin.as_posix()]
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+1 -1
View File
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.34
current_version = 0.0.35
commit = True
tag = True
tag_name = {new_version}