mirror of
https://github.com/diodeinc/pcb.git
synced 2026-09-14 20:17:19 +08:00
dbc3ab31e6
* Make pcb tag and pcb release consistent Before: pcb tag --board <BOARD> --version <VERSION> [PATH] pcb release <zen_path> # inconsistent - used file path After: pcb tag --board <BOARD> --version <VERSION> [PATH] pcb release --board <BOARD> [PATH] # now consistent Also, prefix the board name so that the folders + zip file names are easier to grok. Before: - Staging: .pcb/releases/MyBoard/v1.0.0/ - Zip: .pcb/releases/MyBoard/v1.0.0.zip (just v1.0.0.zip, not MyBoard.v1.0.0.zip) After: - Staging: .pcb/releases/MyBoard-v1.0.0/ - Zip: .pcb/releases/MyBoard-v1.0.0.zip Signed-off-by: akhilles <akhilvelagapudi@gmail.com> * Add find_board_by_name method Signed-off-by: akhilles <akhilvelagapudi@gmail.com> * Only print structured data to stdout Only print json if -f json. Print human-friendly table otherwise. Signed-off-by: akhilles <akhilvelagapudi@gmail.com> --------- Signed-off-by: akhilles <akhilvelagapudi@gmail.com>