Compare commits

..

No commits in common. "b4e15c6cae5e65b506adc315f8432a89d7e28e78" and "655b1e6f5814731a07b68e6a237d136611ea6114" have entirely different histories.

1 changed files with 0 additions and 4 deletions

View File

@ -89,10 +89,6 @@ for environment in environments:
else:
config[f'env:{environment}']['build_flags'] = config[f'env:{environment}']['build_flags'] + f' -DFW_VERSION=\\"{git_branch}_{environment}_{commit_hash}\\"'
# Write the platformio.ini file
with open(os.path.join(firmware_folder, 'platformio.ini'), 'w') as configfile:
config.write(configfile)
# if argument is not supplied, build all environments listed in platformio.ini
if len(sys.argv) == 1:
subprocess.run([f'{platformio_path}', 'run','-c',f'{firmware_folder}/platformio.ini'], cwd=current_dir)