Update gen_release.py
This commit is contained in:
parent
5f5176969f
commit
1988bc953e
|
@ -19,6 +19,10 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
|
|||
# Define the path to the firmware folder
|
||||
firmware_folder = os.path.join(current_dir, 'firmware')
|
||||
|
||||
# Create the firmware folder if it does not exist
|
||||
if not os.path.exists(firmware_folder):
|
||||
os.makedirs(firmware_folder)
|
||||
|
||||
# Define the path to the release folder
|
||||
release_folder = os.path.join(current_dir, 'release')
|
||||
|
||||
|
|
Loading…
Reference in New Issue