osic-stacks/scripts/volare_set_latest
2023-09-29 00:08:33 -03:00

6 lines
177 B
Bash

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