Skip to content

Commit

Permalink
Include version number in the zip filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Ruiz committed Dec 17, 2021
1 parent 41d0de7 commit 922c795
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion boards/KV260/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ version:
@echo "$$(md5sum $$(ls overlay/*bit overlay/*hwh))" >> overlay/version.txt

zip:
$(eval ver := $(shell grep "version" ../../pynq_composable/__init__.py | cut -d" " -f3 | tr -d \'\" | tr . _))
cp LICENSE overlay/LICENSE.txt
zip -r overlay.zip overlay/
zip -r composable-video-pipeline-Pynq-Z2-v$(ver).zip overlay/

dict:
python3 ../../pynq_composable/parser.py --hwh overlay/$(overlay_name).hwh
3 changes: 2 additions & 1 deletion boards/Pynq-Z2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ version:
@echo "$$(md5sum $$(ls overlay/*bit overlay/*hwh))" >> overlay/version.txt

zip:
$(eval ver := $(shell grep "version" ../../pynq_composable/__init__.py | cut -d" " -f3 | tr -d \'\" | tr . _))
cp LICENSE overlay/LICENSE.txt
zip -r overlay.zip overlay/
zip -r composable-video-pipeline-Pynq-Z2-v$(ver).zip overlay/

dict:
python3 ../../pynq_composable/parser.py --hwh overlay/$(overlay_name).hwh
3 changes: 2 additions & 1 deletion boards/Pynq-ZU/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ version:
@echo "$$(md5sum $$(ls overlay/*bit overlay/*hwh))" >> overlay/version.txt

zip:
$(eval ver := $(shell grep "version" ../../pynq_composable/__init__.py | cut -d" " -f3 | tr -d \'\" | tr . _))
cp LICENSE overlay/LICENSE.txt
zip -r overlay.zip overlay/
zip -r composable-video-pipeline-Pynq-Z2-v$(ver).zip overlay/

dict:
python3 ../../pynq_composable/parser.py --hwh overlay/$(overlay_name).hwh

0 comments on commit 922c795

Please sign in to comment.