Files
diodeinc__pcb/.github
Akhil Velagapudi dbc3ab31e6 Make pcb tag and pcb release consistent (#139)
* 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>
2025-09-05 22:44:14 -04:00
..