9 lines
169 B
Bash
Executable file
9 lines
169 B
Bash
Executable file
#!/usr/bin/env sh
|
|
set -e
|
|
|
|
PUBLISHER=$1
|
|
PACKAGE_NAME=$2
|
|
|
|
npx vsce show "${PUBLISHER}.${PACKAGE_NAME}" |
|
|
grep -E -o "Version:\s+(\S+)" |
|
|
sed -r "s/Version:\s+(\S+)/\1/"
|