Files
trezor-suite/scripts/update-protobuf.sh

7 lines
250 B
Bash
Executable File

#!/usr/bin/env bash
# Set FROM_FW_BRANCH to the first argument or default to 'main' if no argument is provided
FROM_FW_BRANCH=${1:-main}
yarn workspace @trezor/protobuf update:protobuf "$FROM_FW_BRANCH"
yarn workspace @trezor/protobuf update:schema