Skip to content

Commit

Permalink
Update package.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic authored Aug 29, 2024
1 parent 26c830e commit 65c1a23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,10 @@ def package_board_files(repo_root, files_root_dir, path_list, sdk_version):
if manifest_folder:
archive_path = os.path.join(repo_dir, 'mikrosdk.7z')
print('Creating archive: %s' % archive_path)
create_7z_archive(version, repo_dir, archive_path)
# Left previous approach with version
# create_7z_archive(version, repo_dir, archive_path)
# New approach with fixed path
create_7z_archive('mikroSDK_v2', repo_dir, archive_path)
print('Archive created successfully: %s' % archive_path)
metadata_content['mikrosdk'] = {'version': version}
upload_result = upload_asset_to_release(args.repo, release_id, archive_path, args.token)
Expand Down

0 comments on commit 65c1a23

Please sign in to comment.