devcontainer/common/rootfs/usr/bin/get_package_version

7 lines
113 B
Bash

#!/bin/bash
set -e
package="$1"
jq -r --arg package "$package" '.[$package]' /tmp/common/install/versions.json