osic-stacks/scripts/volare_set_latest

5 lines
145 B
Bash

#!/bin/bash
if [[ -z "${PDK}" ]]; then
PDK_VERSION=$(volare ls-remote --pdk $PDK | sed -n '1 p')
volare enable --pdk $PDK $PDK_VERSION
fi