vscode-exts/bin/ovsx_package_last_published_version
2024-10-10 17:35:30 +03:00

8 lines
173 B
Bash
Executable file

#!/usr/bin/env sh
set -e
PUBLISHER=$1
PACKAGE_NAME=$2
(npx ovsx get --metadata "${PUBLISHER}.${PACKAGE_NAME}" || echo '{"version":"not yet published"}') |
jq -r .version